BLUE
AC
Ashley Claymore
@ashley-c.bsky.social
JavaScript Infrastructure & Tooling at Bloomberg. TC39 Delegate. London.
50 followers37 following44 posts
ACashley-c.bsky.social

Tough act to follow!!

0
Reposted by Ashley Claymore
MMmolisani.bsky.social

And I'm one of the other talks! Sign up, it's definitely going to be an exciting and informative time.

0
ACashley-c.bsky.social

📣 London TypeScript meet-up next week. I'm one of the three talks (eek!) Sign up here: go.bloomberg.com/attend/invit...

London TypeScript Community Meetup
London TypeScript Community Meetup

1
ACashley-c.bsky.social

Thanks!! ☺️

0
ACashley-c.bsky.social

Thanks David!

0
ACashley-c.bsky.social

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

2
ACashley-c.bsky.social

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

2
ACashley-c.bsky.social

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.

1
ACashley-c.bsky.social

To make myself feel better I call them "interest free repair costs"

0
ACashley-c.bsky.social

Oh wow!

0
AC
Ashley Claymore
@ashley-c.bsky.social
JavaScript Infrastructure & Tooling at Bloomberg. TC39 Delegate. London.
50 followers37 following44 posts