Enable esModuleInterop in tsconfig

This commit is contained in:
Jason Fields 2022-12-27 23:44:44 -05:00
parent f122b747a0
commit a3d9701ff3
5 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
import * as assert from 'assert';
import { strict as assert } from 'assert';
import * as vscode from 'vscode';
import { Remappers, Remapper } from '../../src/configuration/remapper';

View File

@ -10,8 +10,8 @@
// to report the results back to the caller. When the tests are finished, return
// a possible error to the callback or null if none.
import * as path from 'path';
import * as Mocha from 'mocha';
import * as glob from 'glob';
import Mocha from 'mocha';
import glob from 'glob';
import { Globals } from '../src/globals';
import { Configuration } from './testConfiguration';

View File

@ -1,4 +1,4 @@
import * as assert from 'assert';
import { strict as assert } from 'assert';
import * as vscode from 'vscode';
import * as sinon from 'sinon';

View File

@ -1,4 +1,4 @@
import * as assert from 'assert';
import { strict as assert } from 'assert';
import * as fs from 'fs';
import * as os from 'os';
import { join } from 'path';

View File

@ -18,7 +18,8 @@
"platform/*": ["src/platform/node/*"]
},
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true
},
"exclude": ["node_modules", "!node_modules/@types"]
}