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;