Skip to content

Type check JS with typescript #14017

Open
@brendandahl

Description

@brendandahl

In mozilla-central some parts of the code base are now using typescript to do type checks on regular JS that is annotated with jsdoc comments. This could be nice to help us enforce documentation for the API and maybe prevent some bugs.

Example config and JS files that are checked get @ts-check.

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