DocSpace-client/packages/client/global.d.ts

20 lines
373 B
TypeScript
Raw Normal View History

import type { TTheme } from "@docspace/shared/themes";
2024-02-09 10:48:50 +00:00
import type store from "./src/store";
2023-06-09 10:24:36 +00:00
declare module "*.svg" {
const SVG: React.VFC<React.SVGProps<SVGSVGElement>>;
export default SVG;
}
declare module "*.svg?url" {
const SVGUrl: string;
export default SVGUrl;
}
2024-02-09 10:48:50 +00:00
declare global {
type TStore = typeof store;
interface Window {
theme: TTheme;
}
2024-02-09 10:48:50 +00:00
}