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

Run tsc on test files #64

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

Max10240
Copy link
Contributor

@Max10240 Max10240 commented Aug 14, 2024

Because expect-type is "Compile-time tests for types", npm run test shows success even if the associated type test fails. So I think it's safer to run tsc on the test file while npm run test

@sindresorhus sindresorhus merged commit 32af6a3 into sindresorhus:main Aug 14, 2024
3 checks passed
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.

2 participants