Good VSCode extensions:
- "F12: Open File" : open any string that looks like a relative filepath in code
- "Open In GitHub": open current file on github
- "Template String Converter": typing ${ inside of quote strings converts them into backtick templates
I've seen many wacky Rust features, but this is by far the wildest I've ever bumped into
As long as they can be evaluated at compile-time, you may pass function parameters through type generics and use those generics as values
How to run @typescript in the CLI:
npm install sucrase
node -r sucrase/register/ts script.ts
Doesn't care about tsconfig, esm or module issues. It literally just runs the damn code, thank god for common sense.
github.com/alangpierce/su… by @alangpierce