Skip to content

Unlock TypeScript's Features in Vanilla JS with @ts-check and JSDoc #2429

@brecke

Description

@brecke

Adding

//@ts-check

at the top of a js file one can unlock the ability to interpret JSDoc as if it was typescript. This is really interesting from a developer ergonomics perspective.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions