rchain-community / js2rho

experimental JavaScript to Rholang translator
3 stars 1 forks source link

@ts-check dialect #1

Open dckc opened 4 years ago

dckc commented 4 years ago

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