diff --git a/src/global.d.ts b/src/global.d.ts index 3956f8c..299fbde 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -4,3 +4,8 @@ declare module '*.svg?svgr' { const component: SvgrComponent export default component } + +type Omit = Pick< + T, + ({ [P in keyof T]: P } & { [P in K]: never } & { [x: string]: never })[keyof T] +>