UNPKG

133 BTypeScriptView Raw
1export type NonNever<Type extends {}> = Pick<Type, {
2 [Key in keyof Type]: Type[Key] extends never ? never : Key;
3}[keyof Type]>;