Quick Explanation You should use types by default until you need a specific feature of interfaces, like 'extends'. Interfaces can...
[Typescript] Using Type and not Interface in TypeScript
- QLamXmaster
- October 15, 2023
Nên dùng Type hay Interface trong Typescript Using Type and not Interface in TypeScript TypeScript offers two main ways to define custom da...
[Typescript] Danh sách các Type thường dùng trong React + TypeScript app
- QLamXmaster
- October 15, 2023
Basic Prop Types Examples [Typescript] Danh sách các Type thường dùng trong React + TypeScript app type AppProps = { message: string; ...
[Typescript] Rest (spread) parameter in destructured object with Typescript interface
- QLamXmaster
- October 07, 2023
[Typescript] Rest (spread) parameter in destructured object with Typescript interface The solution I found was to add a TypeScript Index Si...