Skip to content

kient / ExcludeFunctionsAndPrivate

Type Alias: ExcludeFunctionsAndPrivate<T>

ts
type ExcludeFunctionsAndPrivate<T> = { [K in keyof T as K extends `_${string}` ? never : T[K] extends (args: any[]) => any ? never : K]: T[K] extends object ? Flattened<T[K]> : T[K] };

src/util/flatten.ts:1

Type Parameters

Type Parameter
T