mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: add Omit
This commit is contained in:
parent
6de067a72f
commit
da0bf634a5
1 changed files with 5 additions and 0 deletions
5
src/global.d.ts
vendored
5
src/global.d.ts
vendored
|
|
@ -4,3 +4,8 @@ declare module '*.svg?svgr' {
|
|||
const component: SvgrComponent
|
||||
export default component
|
||||
}
|
||||
|
||||
type Omit<T, K extends keyof T> = Pick<
|
||||
T,
|
||||
({ [P in keyof T]: P } & { [P in K]: never } & { [x: string]: never })[keyof T]
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue