- United States
- mikefanger.com
Block or Report
Block or report mvf4z7
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned 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.