- United States
- mikefanger.com
Pinned Loading
-
-
disriminate-union-utils.ts
disriminate-union-utils.ts 1export type DiscriminateUnion<
2T,
3K extends keyof T,
4V extends T[K]
5> = T extends Record<K, V> ? T : never;
-
TypeScript Result type
TypeScript Result type 1type Ok<T> = {
2type: 'Ok';
3value: T;
4};
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.