事前に宣言されていない[[プロパティ (TypeScript)|プロパティ]]の型を[[インデックス型]]の構文で構築する[[TypeScript]]の型表現。
```ts
interface Human {
id: number
name: string
}
type HasHumanProperties = {
[K in keyof Human]: boolean
}
const p: HasHumanProperties = {
id: true,
name: false,
}
```
## MOC
- 📒**関連**
- [[Mapping Modifiers (TypeScript)|Mapping Modifiers]]
- [[Key Remapping (TypeScript)|Key Remapping]]
- 📜**アクティビティ**
- 📝**トラブルシューティング**