You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mapTextChangesToCodeEditsUsingScriptInfo: Handle tsconfig.json text change (microsoft#25586)
* mapTextChangesToCodeEditsUsingScriptInfo: Handle tsconfig.json text change
* Can't use `program.getSourceFile()` to determine file existence when multiple projects exist
* Use direct union instead of discriminated union
Debug.assert(!!textChanges.isNewFile===!sourceFile,"Expected isNewFile for (only) new files",()=>JSON.stringify({isNewFile: textChanges.isNewFile,hasSourceFile: !!sourceFile}));
2361
+
Debug.assert(!!textChanges.isNewFile===!sourceFile,"Expected isNewFile for (only) new files",()=>JSON.stringify({isNewFile: !!textChanges.isNewFile,hasSourceFile: !!sourceFile}));
Debug.assert(!!textChanges.isNewFile===!scriptInfo,"Expected isNewFile for (only) new files",()=>JSON.stringify({isNewFile: !!textChanges.isNewFile,hasScriptInfo: !!scriptInfo}));
0 commit comments