ExtractOptionalKeys
See source codetype ExtractOptionalKeys<T extends object> = {
[K in keyof T]: undefined extends T[K] ? K : never
}[keyof T]
Prev
TLVideoShapeNext
ExtractRequiredKeystype ExtractOptionalKeys<T extends object> = {
[K in keyof T]: undefined extends T[K] ? K : never
}[keyof T]