Skip to content

npm: automatic acquisition of @types package for type checking #20455

Closed as not planned
@nayeemrmn

Description

@nayeemrmn

This was already on the roadmap but with no issue.

You can usually work around this with // @deno-types="npm:@types/<package>" but that's not always an option. E.g. for "jsxImportSource": "npm:react" in your compiler options, there's no import to add the directive to. So it's a big obstacle for react-jsx users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions