[TypeScript]Memo
Useful articles
- TypeScriptチートシート
- TypeScript超入門(2):構文を理解する
- Interface vs Type alias in TypeScript 2.7 - Martin Hochel - Medium
Tips
Associative array
- An associative array in an associative array
const array: { [key: string]: string | { [key: string]: string } } = { name: 'Thomas', fav: { music: 'metal', game: 'fps' }, };