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 c627ce0 commit 8272ef2Copy full SHA for 8272ef2
packages/typescript/lib/node/proxyCreateProgram.ts
@@ -180,6 +180,8 @@ export function proxyCreateProgram(
180
);
181
// @ts-expect-error
182
parsedSourceFile.version = originalSourceFile.version;
183
+ // @ts-expect-error
184
+ originalSourceFile.scriptKind = serviceScript.scriptKind;
185
parsedSourceFiles.set(originalSourceFile, parsedSourceFile);
186
}
187
if (getExtraServiceScripts) {
0 commit comments