Extracts the keys of T that are required (non-optional)
提取 T 中必填的键(非可选)
interface Person { name: string age?: number address: string}type Keys = RequiredKeys<Person>// 'name' | 'address' Copy
interface Person { name: string age?: number address: string}type Keys = RequiredKeys<Person>// 'name' | 'address'
Extracts the keys of T that are required (non-optional)
提取 T 中必填的键(非可选)