Skip to content

Commit 46dfd68

Browse files
committed
Always return []
1 parent 924a2bf commit 46dfd68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ namespace ts.server {
690690
}
691691

692692
getEffectiveTypeRoots() {
693-
return ts.getEffectiveTypeRoots(this.getCompilerOptions(), this.projectService.host);
693+
return ts.getEffectiveTypeRoots(this.getCompilerOptions(), this.projectService.host) || [];
694694
}
695695
}
696696

0 commit comments

Comments
 (0)