From 1771d8f58973831c4ae242128372824e6303c114 Mon Sep 17 00:00:00 2001 From: Austin Date: Thu, 22 Oct 2020 12:03:12 -0400 Subject: [PATCH] fix scss types --- tsconfig.json | 4 ++-- types/typings.d.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 types/typings.d.ts diff --git a/tsconfig.json b/tsconfig.json index 3fc4d15..6d3eee0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "module": "esnext", "moduleResolution": "node", "lib": ["es2017", "dom"], - "typeRoots": ["./node_modules/@types"], + "typeRoots": ["./types", "./node_modules/@types"], "jsx": "react", "baseUrl": "./src", "allowSyntheticDefaultImports": true, @@ -29,6 +29,6 @@ "emitDecoratorMetadata": true }, "types": ["node"], - "include": ["src/**/*"], + "include": ["src/**/*", "types/*"], "exclude": ["node_modules", "dist"] } diff --git a/types/typings.d.ts b/types/typings.d.ts new file mode 100644 index 0000000..5cac4b6 --- /dev/null +++ b/types/typings.d.ts @@ -0,0 +1,6 @@ +declare module '*.json'; +declare module '*.css'; +declare module '*.scss'; +declare module '*.md'; + +type BigInt = string;