HypeScript: Simplified TypeScript type system in TypeScript's own type system
1–10 of 84 posts
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#2This is epic. There’s a parser in there.
Edit: this is explained a bit here [1]. It uses Template Literal Types[2].
1 https://blog.joshuakgoldberg.com/type-system-game-engines/
2 https://www.typescriptlang.org/docs/handbook/2/template-lite...
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#3Oh thank God. There aren't nearly enough ways to write javascript.
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#4Oh thank God. There aren't nearly enough ways to write javascript.
There's no Javascript (or any other runtime) code in this at all. It all happens at compile-time.
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#5This article is intriguing, I liked the playful tone, particularly in light of the subject. I’m hoping the talk gets streamed to YouTube.
This also makes me interested in the formalization attempts I have heard are ongoing for TS’s type system. Anyone with good paper/videos on that development feel free to drop a link.
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#6Yo dawg, I heard you like Typescript ... you know the rest.
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#7For people used to working in TypeScript who suddenly find themselves having to work on a vanilla js app... and don't wanna use JSDoc?
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#8I'm impressed by how readable the live demo is.
I have to say, the fact that you can do something so... obscene, but in a way that's actually surprisingly readable, speaks highly of Typescript's type system and design.
Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#9Yo dawg, I heard you like Typescript ... you know the rest.
interface TypeScript {
typeScript: TypeScript;
}Re: HypeScript: Simplified TypeScript type system in TypeScript's own type system
#10Am I the only one that feels uncomfortable with all that usage of strings in TS’s type system? Why not use pure literals instead of string literals? This is a genuine question, I’m trying to find out what the pros and cons where in the decision making process.