Client: Added global type

This commit is contained in:
Akmal Isomadinov 2024-02-09 15:48:50 +05:00
parent d610ab622a
commit 2c9a0827e2

View File

@ -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;
}