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

@ts-check dialect #1

Open
dckc opened this issue Apr 12, 2020 · 0 comments
Open

@ts-check dialect #1

dckc opened this issue Apr 12, 2020 · 0 comments

Comments

@dckc
Copy link
Contributor

dckc commented Apr 12, 2020

This project started in typescript, but tsc doesn't seem to recognize String.startsWith unless we use a newer JS target. Then it doesn't get along with node.js, which requires the .js extension on the end of import specifiers when using EcmaScript modules.

So I'm looking into Type Checking JavaScript Files. This is similar to the way I used flow in other projects - no build step.

See also

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

No branches or pull requests

1 participant