mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
interface SvgrComponent extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}
|
|
|
|
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]
|
|
>
|