diff --git a/src/utils/type.ts b/src/utils/type.ts
deleted file mode 100644
index ba6ea0be77..0000000000
--- a/src/utils/type.ts
+++ /dev/null
@@ -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] };