fix: *.scss *.svg types

This commit is contained in:
Yidadaa 2023-04-12 23:04:45 +08:00
parent 2fb67f52a1
commit 9146b98285

14
app/global.d.ts vendored Normal file
View File

@ -0,0 +1,14 @@
declare module "*.jpg";
declare module "*.png";
declare module "*.woff2";
declare module "*.woff";
declare module "*.ttf";
declare module "*.scss";
declare module "*.svg" {
import React = require("react");
export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}