We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e2ecf commit 9547dc9Copy full SHA for 9547dc9
dash/extract-meta.js
@@ -37,7 +37,7 @@ if (!src.length) {
37
}
38
39
if (fs.existsSync('tsconfig.json')) {
40
- tsconfig = ts.getParsedCommandLineOfConfigFile('tsconfig.json', {}, ts.sys);
+ tsconfig = ts.getParsedCommandLineOfConfigFile('tsconfig.json', { esModuleInterop: true }, ts.sys);
41
42
43
let failedBuild = false;
@@ -187,7 +187,7 @@ function gatherComponents(sources, components = {}) {
187
return components;
188
189
190
- const program = ts.createProgram(filepaths, {...tsconfig, esModuleInterop: true});
+ const program = ts.createProgram(filepaths, tsconfig);
191
const checker = program.getTypeChecker();
192
193
const coerceValue = t => {
0 commit comments