requiredKeys<T>: {
    [k in keyof T]: undefined extends T[k]
        ? never
        : k
}[keyof T]

Type Parameters

  • T extends object

Generated using TypeDoc