We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b046d0 commit 5d8f807Copy full SHA for 5d8f807
src/playground/tstlWorker.ts
@@ -83,7 +83,7 @@ function transpileString(str: string, options: CompilerOptions = {
83
}
84
if (filename.startsWith('lib.') && filename.endsWith('.d.ts')) {
85
return ts.createSourceFile(
86
- filename, require(`!raw-loader!../../node_modules/typescript/lib/${filename}`), ts.ScriptTarget.Latest, false);
+ filename, require(`!raw-loader!../../node_modules/typescript/lib/lib.${filename.slice(4)}`), ts.ScriptTarget.Latest, false);
87
88
return undefined;
89
},
0 commit comments