diff --git a/demo/tsconfig.json b/demo/tsconfig.json index 6478937faf6..db4017ad4e0 100644 --- a/demo/tsconfig.json +++ b/demo/tsconfig.json @@ -6,8 +6,5 @@ "docx": ["../build"] } }, - "include": ["../demo"], - "ts-node": { - "esm": true - } + "include": ["../demo"] } diff --git a/tsconfig.json b/tsconfig.json index 4afd2920fb2..f1689ebb095 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -41,7 +41,8 @@ "module": "ESNext", "moduleResolution": "node", "allowSyntheticDefaultImports": true, - "esModuleInterop": true + "esModuleInterop": true, + "allowImportingTsExtensions": true } }, "include": ["src"]