Tough act to follow!!
And I'm one of the other talks! Sign up, it's definitely going to be an exciting and informative time.
📣 London TypeScript meet-up next week. I'm one of the three talks (eek!) Sign up here: go.bloomberg.com/attend/invit...
Thanks!! ☺️
Thanks David!
ts-blank-space deletes the types and replaces them with spaces. This form of type erasure means the runtime code stays in its original location. We use the parser's AST only to help us find type coordinates - there is no need for traditional codegen! github.com/bloomberg/ts...
Today, I'm releasing a TypeScript compiler called ts-blank-space 🎈 We use this at Bloomberg to perform type-stripping on a modern subset of TypeScript. It's written in TypeScript and is fast because it uses whitespace to enable work-skipping. bloomberg.github.io/ts-blank-space
The hardest part is having a great set of test fixtures to catch the weird cases. If those already exist it's a huge help.
To make myself feel better I call them "interest free repair costs"
Oh wow!