UNPKG

315 BTypeScriptView Raw
1export type IsStrictlyAny<T> = UnionToIntersection<UnionForAny<T>> extends never ? true : false;
2type UnionForAny<T> = T extends never ? 'a' : 1;
3type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
4export {};
5//# sourceMappingURL=IsStrictlyAny.d.ts.map
\No newline at end of file