Added globals.d.ts

This commit is contained in:
Frank Johnson
2021-09-19 01:07:46 -04:00
parent 2d4977ba8f
commit 59df7fdc25

7
app/web/src/globals.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
// While the raw-loader Webpack plugin actually makes these imports work, this
// eliminates noisy TypeScript errors by registering these file endings as types.
// Learned this method of registering modules from https://stackoverflow.com/a/57444766
declare module "*.md";
declare module "*.SCAD";
declare module "*.py";
declare module "*.jscad";