mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 20:33:45 -05:00
Fix compile on save issues (#10615)
* only return .ts and .tsx files for affected document list * Return all files exclude mixed-content files for CoS affected list
This commit is contained in:
@@ -20,7 +20,7 @@ namespace ts.server {
|
||||
content: string,
|
||||
readonly scriptKind: ScriptKind,
|
||||
public isOpen = false,
|
||||
private hasMixedContent = false) {
|
||||
public hasMixedContent = false) {
|
||||
|
||||
this.path = toPath(fileName, host.getCurrentDirectory(), createGetCanonicalFileName(host.useCaseSensitiveFileNames));
|
||||
this.svc = ScriptVersionCache.fromString(host, content);
|
||||
|
||||
Reference in New Issue
Block a user