Skip to content

With TypeScript 4.8 we seem to only see info from .d.ts files #278

@rictic

Description

@rictic

Consider this repro: https://github.com/HalfdanJ/lit-element-starter-ts (recommend opening a github codespace to get a stand alone fresh install of the VSCode plugin, with only local configuration)

With a same-project import of some-element, we still get an unknown tag warning unless it's added to the HTMLElementTagNameMap, and even if it is we get an unknown attribute warning unless we add an @attr jsdoc tag to SomeElement. It's as though the analyzer can't see the @property or @customElement decorators

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions