mirror of https://github.com/espruino/BangleApps
utility.d.ts: add
parent
b2e788683a
commit
23a53f0284
|
@ -0,0 +1,5 @@
|
|||
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];
|
||||
};
|
Loading…
Reference in New Issue