Client: Added global type
This commit is contained in:
parent
d610ab622a
commit
2c9a0827e2
6
packages/client/global.d.ts
vendored
6
packages/client/global.d.ts
vendored
@ -1,3 +1,5 @@
|
||||
import type store from "./src/store";
|
||||
|
||||
declare module "*.svg" {
|
||||
const SVG: React.VFC<React.SVGProps<SVGSVGElement>>;
|
||||
export default SVG;
|
||||
@ -6,3 +8,7 @@ declare module "*.svg?url" {
|
||||
const SVGUrl: string;
|
||||
export default SVGUrl;
|
||||
}
|
||||
|
||||
declare global {
|
||||
type TStore = typeof store;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user