diff --git a/components/_util/type.ts b/components/_util/type.ts index 499cf949c..da388cc9f 100644 --- a/components/_util/type.ts +++ b/components/_util/type.ts @@ -1,6 +1,5 @@ import type { App, PropType, VNodeChild, Plugin } from 'vue'; -export type Omit = Pick>; // https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead export const tuple = (...args: T) => args; diff --git a/components/breadcrumb/Breadcrumb.tsx b/components/breadcrumb/Breadcrumb.tsx index 839e1f2a9..91b7857f4 100644 --- a/components/breadcrumb/Breadcrumb.tsx +++ b/components/breadcrumb/Breadcrumb.tsx @@ -5,7 +5,7 @@ import { flattenChildren, getPropsSlot } from '../_util/props-util'; import warning from '../_util/warning'; import BreadcrumbItem from './BreadcrumbItem'; import Menu from '../menu'; -import type { Omit, VueNode } from '../_util/type'; +import type { VueNode } from '../_util/type'; import useConfigInject from '../_util/hooks/useConfigInject'; export interface Route {