Skip to content

Better TypeScript experience #255

@saschanaz

Description

@saschanaz

Adding index.d.ts in the root directory will enable other packages to automatically read it to properly typecheck any use of webidl2.js.

Previously I had to contribute to DefinitelyTyped like DefinitelyTyped/DefinitelyTyped#25092 but it's harder to maintain as it has a separate versioning system.

@marcoscaceres What do you think, as you previously stated a concern about adding TS support? #55 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions