Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tsc check JS files with @ts-check annotations #176

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Dec 5, 2024

Looks like tsc --noEmit wouldn't check JS files by default. This fixes that, and fixes some type errors

Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@richvdh
Copy link
Member

richvdh commented Dec 5, 2024

... except that CI is unhappy with you

In some contexts, it would try to use the JS file and type it instead of
the proper TS definitions
@sandhose sandhose merged commit 74b73ae into main Dec 10, 2024
3 checks passed
@sandhose sandhose deleted the quenting/tsc-js branch December 10, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants