Skip to content

Handle imports from @types/foo type-only packages #113

@bradzacher

Description

@bradzacher

In typescript it's possible to import from a module that only has a @types/ definition.
Example -- if you "right click -> peek definition" on the import source you'll see it mentions node_modules/@types/google__maps.

From what I can tell there isn't a way to resolve this import without manually specifying a mapping.
Am I correct in this? Or is there a way to support it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions