1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

Clean up: Remove the unused file

This commit is contained in:
syuilo 2018-06-22 17:55:58 +09:00
parent 06cfa207fc
commit 16c2aefe7b

View File

@ -1,3 +0,0 @@
// https://github.com/Microsoft/TypeScript/issues/12215
export type Diff<T extends string, U extends string> = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T];
export type Omit<T, K extends keyof T> = { [P in Diff<keyof T, K>]: T[P] };