Always return []

This commit is contained in:
Ryan Cavanaugh 2016-09-19 18:00:42 -07:00
parent 924a2bf03d
commit 46dfd68ef8

View File

@ -690,7 +690,7 @@ namespace ts.server {
}
getEffectiveTypeRoots() {
return ts.getEffectiveTypeRoots(this.getCompilerOptions(), this.projectService.host);
return ts.getEffectiveTypeRoots(this.getCompilerOptions(), this.projectService.host) || [];
}
}