Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 2cc0d8a

Browse files
committed
Disable ES module interop
1 parent 1586fab commit 2cc0d8a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

rust-analyzer/editors/code/tests/unit/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as path from 'path';
2-
import Mocha from 'mocha';
3-
import glob from 'glob';
2+
import * as Mocha from 'mocha';
3+
import * as glob from 'glob';
44

55
export function run(): Promise<void> {
66
// Create the mocha test

rust-analyzer/editors/code/tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
"lib": [
77
"es2019"
88
],
9-
"esModuleInterop": true,
10-
"allowSyntheticDefaultImports": true,
119
"sourceMap": true,
1210
"rootDir": ".",
1311
"strict": true,

0 commit comments

Comments
 (0)