Hacker News new | ask | show | jobs
by katamaster818 1061 days ago
yup, just found that, super neat, I am 100% interested in using this for other runtime validation...

It's interesting because I've always been under the impression the TS team was against the use of types at runtime (that's why projects like https://github.com/nonara/ts-patch exist), but now they're doing it themselves with this project...

I wonder what the performance overhead of starting up an instance of tsc in memory is? Is this suitable for low latency situations? Lots of testing to do...

1 comments

Great point. They're against it unless you're running it in a loop and paying for every API call!