Initial round of typescripting

This commit is contained in:
David Baker
2022-05-06 11:32:09 +01:00
parent dbef06269b
commit 4488947eed
10 changed files with 316 additions and 24 deletions

11
src/types.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
declare module "*.module.css" {
const classes: {
[key: string]: string;
};
export default classes;
}
declare module "*.svg" {
export const ReactComponent: React.FunctionComponent<
React.SVGAttributes<SVGElement>
>;
}