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.
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