1
0
Fork 0
BangleApps/typescript/types/utility.d.ts

6 lines
124 B
TypeScript

type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
type Pick<T, K extends keyof T> = {
[P in K]: T[P];
};