Skip to content

Commit 4fed700

Browse files
authored
chore(all): delete useless Omit define (#4470)
1 parent 524cc13 commit 4fed700

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

components/_util/type.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { App, PropType, VNodeChild, Plugin } from 'vue';
22

3-
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
43
// https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead
54
export const tuple = <T extends string[]>(...args: T) => args;
65

components/breadcrumb/Breadcrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { flattenChildren, getPropsSlot } from '../_util/props-util';
55
import warning from '../_util/warning';
66
import BreadcrumbItem from './BreadcrumbItem';
77
import Menu from '../menu';
8-
import type { Omit, VueNode } from '../_util/type';
8+
import type { VueNode } from '../_util/type';
99
import useConfigInject from '../_util/hooks/useConfigInject';
1010

1111
export interface Route {

0 commit comments

Comments
 (0)