![Wes Bos on X: "🔥 4 TypeScript tips in context of when you would use them. as const, typeof, keyof and template string types https://t.co/HaNfZcbQMX" / X Wes Bos on X: "🔥 4 TypeScript tips in context of when you would use them. as const, typeof, keyof and template string types https://t.co/HaNfZcbQMX" / X](https://pbs.twimg.com/ext_tw_video_thumb/1615776709730517013/pu/img/-0bzMprrUOrtbC1G.jpg:large)
Wes Bos on X: "🔥 4 TypeScript tips in context of when you would use them. as const, typeof, keyof and template string types https://t.co/HaNfZcbQMX" / X
![TypeScript advanced types. Diving a little deeper into typescript… | by healqq | shyftplan TechBlog | Medium TypeScript advanced types. Diving a little deeper into typescript… | by healqq | shyftplan TechBlog | Medium](https://miro.medium.com/v2/resize:fit:1018/1*Rvd12tMkaInUXylcxBDFnw.png)
TypeScript advanced types. Diving a little deeper into typescript… | by healqq | shyftplan TechBlog | Medium
![Wes Bos on X: "Another good example of generating TypeScript types from existing data. I needed a union of all currency codes. Used `keyof typeof` to generate a union from an object's Wes Bos on X: "Another good example of generating TypeScript types from existing data. I needed a union of all currency codes. Used `keyof typeof` to generate a union from an object's](https://pbs.twimg.com/media/EzGYPgxVkAE9LMw.jpg:large)
Wes Bos on X: "Another good example of generating TypeScript types from existing data. I needed a union of all currency codes. Used `keyof typeof` to generate a union from an object's
![static typing - Typescript: Type alias results in strange type when returning object with same keys but different values - Stack Overflow static typing - Typescript: Type alias results in strange type when returning object with same keys but different values - Stack Overflow](https://i.stack.imgur.com/X4LgE.png)