forked from XiaoMo/ChatGPT-Next-Web
fix: *.scss *.svg types
This commit is contained in:
parent
2fb67f52a1
commit
9146b98285
14
app/global.d.ts
vendored
Normal file
14
app/global.d.ts
vendored
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user