From 432d9dd140b222492c67301ac061832a07fc04c4 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 5 Feb 2022 23:21:49 +0100 Subject: [PATCH] enable isolated modules --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index b6fe9ca..56a7fd3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -66,7 +66,7 @@ // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ /* Interop Constraints */ - // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ + "isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */, // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */, // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */