diff --git a/app/web/src/globals.d.ts b/app/web/src/globals.d.ts new file mode 100644 index 0000000..108e045 --- /dev/null +++ b/app/web/src/globals.d.ts @@ -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"; \ No newline at end of file