Skip to content

Type check the js files that have JSDocs #5662

@canova

Description

@canova

We have files like bin/l10n-sync.js that have JSDocs in them, but apparently we are not checking them with yarn ts correctly. See my comment here: #5659 (comment)

It would be good to properly check them with typescript. To be able to do that I believe we need to add "allowJs": true to tsconfig.json, and add // @ts-check to these files.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    code maintenanceIssues that are not user facing, but are related the technical debt with the code itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions