ts-blank-space is a fast type-stripping compiler
bloomberg.github.io
ts-blank-space is a fast type-stripping compiler
1–10 of 49 posts
Re: ts-blank-space is a fast type-stripping compiler
#2The tsc transpilation to lower ES versions is actually really useful when using not-so-recent Node versions. Not to mention this severely restricts TypeScript syntax to "just types" which isn't too bad but it means you now have to worry about yet another thing.
Then there's the ESM & CJS mess. You almost always want to export in both formats which will change a lot of the syntax, so this quickly falls apart for anything serious.
Just use esbuild if you want speed.
Re: ts-blank-space is a fast type-stripping compiler
#3Re: ts-blank-space is a fast type-stripping compiler
#4You'd already be using source maps in any real-world scenario so I am not sure what's the value proposition here outside of "just for fun, I guess". The tsc transpilation to lower ES versions is actually really useful when using not-so-recent Node versions. Not to mention this severely restricts TypeScript syntax to "just types" which isn't too bad but it means you now have to worry about yet another thing. Then ther…
Re: ts-blank-space is a fast type-stripping compiler
#5Re: ts-blank-space is a fast type-stripping compiler
#6JavaScript is really slow though compared to golang. For that reason I prefer esbuild for type-stripping.
Re: ts-blank-space is a fast type-stripping compiler
#7I am shocked to not see a reference to Taylor Swift’s hit song Blank Space anywhere in the article!
Re: ts-blank-space is a fast type-stripping compiler
#8I am shocked to not see a reference to Taylor Swift’s hit song Blank Space anywhere in the article!
Hmm...
Re: ts-blank-space is a fast type-stripping compiler
#9I am shocked to not see a reference to Taylor Swift’s hit song Blank Space anywhere in the article!