mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Set impliedNodeFormat on sourceFile we get from host to ensure the field is set correctly (#50977)
* Add test that fails * Handle impliedNodeFormat when handling sourceFileCache Fixes #50872 * Revert the fix * Make sure impliedNodeFormat is set for the sourceFile * Revert "Make sure impliedNodeFormat is set for the sourceFile" This reverts commit651a47fdd6. * Revert "Revert the fix" This reverts commit5c98b9cfc1. * Swap the keys for map
This commit is contained in:
@@ -985,6 +985,7 @@ interface Array<T> { length: number; [n: number]: T; }`
|
||||
}
|
||||
|
||||
write(message: string) {
|
||||
if (Debug.isDebugging) console.log(message);
|
||||
this.output.push(message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user