Files
bbs/frontend/src/typings.d.ts
T
nikolark dbda43077e ✨ Make new frontend available under /modern
👷 Start adding deploy config and CI
2021-12-05 00:45:36 +01:00

17 lines
365 B
TypeScript

/* svgs */
declare module "*.svg" {
import { ReactElement, SVGProps } from "react";
const content: (props: SVGProps<SVGElement>) => ReactElement;
export default content;
}
/* CSS modules */
declare module "*.module.css";
/* Vite env vars */
interface ImportMetaEnv {
readonly VITE_API_URL: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}