Skip to content

Commit db9a37d

Browse files
committed
prevent pxt-core types from leaking into target extension builds
1 parent e4248b5 commit db9a37d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

compiler/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"newLine": "LF",
1313
"sourceMap": false,
1414
"typeRoots": ["../node_modules/@types"],
15+
"types": [],
1516
"lib": [
1617
"dom",
1718
"dom.iterable",

editor/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"scripthost",
2020
"es2017",
2121
"ES2018.Promise"
22-
]
22+
],
23+
"types": []
2324
}
2425
}

fieldeditors/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"newLine": "LF",
1010
"sourceMap": false,
1111
"allowSyntheticDefaultImports": true,
12-
"declaration": true
12+
"declaration": true,
13+
"types": []
1314
}
1415
}

sim/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"dom.iterable",
1515
"scripthost",
1616
"es2017"
17-
]
17+
],
18+
"types": []
1819
},
1920
"include": [
2021
"*.ts",

0 commit comments

Comments
 (0)