From d4da617353b2b614aaa226b1f36e330d2b7f6618 Mon Sep 17 00:00:00 2001 From: Jason Fields Date: Wed, 1 Mar 2023 17:53:51 -0500 Subject: [PATCH] Enable `isolatedModules` in tsconfig --- test/testSimplifier.ts | 3 ++- tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/testSimplifier.ts b/test/testSimplifier.ts index 6862865c..1bbd3cb6 100644 --- a/test/testSimplifier.ts +++ b/test/testSimplifier.ts @@ -686,4 +686,5 @@ async function parseVimRCMappings(lines: string[]): Promise { } } -export { ITestObject, testIt }; +export type { ITestObject }; +export { testIt }; diff --git a/tsconfig.json b/tsconfig.json index aaa533b7..87c89220 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,7 +19,8 @@ }, "resolveJsonModule": true, "forceConsistentCasingInFileNames": true, - "esModuleInterop": true + "esModuleInterop": true, + "isolatedModules": true }, "exclude": ["node_modules", "!node_modules/@types"] }