Reference vite/svgr types
This commit is contained in:
parent
04780ab7aa
commit
b231424f96
1 changed files with 2 additions and 11 deletions
13
src/@types/modules.d.ts
vendored
13
src/@types/modules.d.ts
vendored
|
@ -1,11 +1,2 @@
|
|||
declare module "*.module.css" {
|
||||
const classes: {
|
||||
[key: string]: string;
|
||||
};
|
||||
export default classes;
|
||||
}
|
||||
declare module "*.svg" {
|
||||
export const ReactComponent: React.FunctionComponent<
|
||||
React.SVGAttributes<SVGElement>
|
||||
>;
|
||||
}
|
||||
/// <reference types="vite/client" />
|
||||
/// <reference types="vite-plugin-svgr/client" />
|
||||
|
|
Loading…
Reference in a new issue