TypeScript: Interfaces vs Types - Understanding the Difference
Learn what are Interfaces and Types in TypeScript. Explore the key the differences between TypeScript interfaces and types, with code examples.
Explore the recent TypeScript blog posts
Learn what are Interfaces and Types in TypeScript. Explore the key the differences between TypeScript interfaces and types, with code examples.
Discriminated Unions in TypeScript are formed from two or more other types. Explore how discriminated unions in TypeScript enhance type safety and code clarity, with practical examples and explanations.
Explore the TypeScript's type system: primitive types, enums, arrays, functions, objects, typles, intersections, unions, aliases, interfaces, type assertions, literals, any, unknown, never, null, undefined.
Learn what are the pitfalls of using any keyworkd in TypeScript. Get the guidelines to make your code safer, improve readability and avoid maintenance issues
Learn the difference between any and unknown types in TypeScript. Get the guidelines to make your code safer
Join my community of 500+ developers and architects.
Each week you will get 2 practical tips with best practises and architecture advice.