Back to front pageView on Hacker News (opens in a new tab)Show HN: A SQL database implemented purely in TypeScript type annotations (opens in a new tab)github.com426 pointsby phpnode (on Hacker News)6 years agogithub.com (opens in a new tab)GitHub - codemix/ts-sql: A SQL database implemented purely in TypeScript type annotations.A SQL database implemented purely in TypeScript type annotations. - codemix/ts-sqlComments (191) 32 threadsShow all commentsShowing thread 5 of 32[-]cjdell6 years ago3 replies#I had no idea you could compose string literal types AND infer variables using interpolation syntax in the context of conditional types.I am salivating at the potential use cases for this...ricksharp6 years ago#Right! That is insane - I had no idea it was possible to infer part of a string literal.My mind is exploding at the possibilities.[-]cuddlecake6 years ago1 reply#It's a new feature from TypeScript 4.1 (this version is yet in beta)https://devblogs.microsoft.com/typescript/announcing-typescr...cjdell6 years ago#Lots of new toys to play with in this release! They've also explained each new feature really well...dixon3956 years ago#Typescript was created to bring static types in dynamic language, like JS. Now they made the static types more dynamic. What's next?)
Show HN: A SQL database implemented purely in TypeScript type annotations (opens in a new tab)github.com426 pointsby phpnode (on Hacker News)6 years ago
cjdell6 years ago3 replies#I had no idea you could compose string literal types AND infer variables using interpolation syntax in the context of conditional types.I am salivating at the potential use cases for this...
ricksharp6 years ago#Right! That is insane - I had no idea it was possible to infer part of a string literal.My mind is exploding at the possibilities.
cuddlecake6 years ago1 reply#It's a new feature from TypeScript 4.1 (this version is yet in beta)https://devblogs.microsoft.com/typescript/announcing-typescr...
cjdell6 years ago#Lots of new toys to play with in this release! They've also explained each new feature really well...
dixon3956 years ago#Typescript was created to bring static types in dynamic language, like JS. Now they made the static types more dynamic. What's next?)
Comments (191) 32 threads
Show all comments
Showing thread 5 of 32
I am salivating at the potential use cases for this...
My mind is exploding at the possibilities.
https://devblogs.microsoft.com/typescript/announcing-typescr...