x/evt@v1.10.2/tools/typeSafety/UnpackTypeGuard.ts

šŸ’§EventEmitter's typesafe replacement
GitHub Stars
382
Go to Latest
UnpackTypeGuard.ts

export type UnpackTypeGuard<T> = T extends ((o: any) => o is infer U) ? U : never;