Skip to content

Commit bef4d2b

Browse files
author
Andy
authored
Enable "esModuleInterop" in all tsconfigs (DefinitelyTyped#23354)
1 parent 4bf37b6 commit bef4d2b

File tree

4,219 files changed

+9602
-5107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,219 files changed

+9602
-5107
lines changed

scripts/generate-tsconfigs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import * as fs from 'fs';
66
import * as path from 'path';
77

8-
const home = path.join(__dirname, '..');
8+
const home = path.join(__dirname, "..", "types");
99

1010
for (const dirName of fs.readdirSync(home)) {
1111
if (dirName.startsWith(".") || dirName === "node_modules" || dirName === "scripts") {

types/abbrev/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

types/abs/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

types/absolute/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

types/acc-wizard/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
],
1616
"types": [],
1717
"noEmit": true,
18-
"forceConsistentCasingInFileNames": true
18+
"forceConsistentCasingInFileNames": true,
19+
"esModuleInterop": true
1920
},
2021
"files": [
2122
"index.d.ts",

types/accept-language-parser/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

types/accepts/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

types/accounting/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

types/ace/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
],
1616
"types": [],
1717
"noEmit": true,
18-
"forceConsistentCasingInFileNames": true
18+
"forceConsistentCasingInFileNames": true,
19+
"esModuleInterop": true
1920
},
2021
"files": [
2122
"index.d.ts",

types/acl/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"types": [],
1616
"noEmit": true,
17-
"forceConsistentCasingInFileNames": true
17+
"forceConsistentCasingInFileNames": true,
18+
"esModuleInterop": true
1819
},
1920
"files": [
2021
"index.d.ts",

0 commit comments

Comments
 (0)