diff --git a/tests/specs/tsconfig.ts b/tests/specs/tsconfig.ts index 948a8a4..000b426 100644 --- a/tests/specs/tsconfig.ts +++ b/tests/specs/tsconfig.ts @@ -2,7 +2,7 @@ import path from 'path'; import { createRequire } from 'node:module'; import { testSuite, expect } from 'manten'; import { createFixture } from 'fs-fixture'; -import { execa, ExecaError } from 'execa'; +import { execa, type ExecaError } from 'execa'; import { tsconfigJson } from '../utils.js'; const webpackCli = path.resolve('node_modules/webpack-cli/bin/cli.js'); diff --git a/tsconfig.json b/tsconfig.json index 4f5e50c..e262f52 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es2022", - "lib": ["ESNext.Disposable"], + "lib": ["ESNext"], "moduleDetection": "force", "module": "preserve", @@ -12,6 +12,7 @@ "noImplicitOverride": true, "noEmit": true, "esModuleInterop": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, } -} +} \ No newline at end of file