We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d78df4 commit cc95dcaCopy full SHA for cc95dca
1 file changed
src/compiler/tsc.ts
@@ -301,7 +301,7 @@ namespace ts {
301
sourceFile.fileWatcher.close();
302
sourceFile.fileWatcher = undefined;
303
if (removed) {
304
- var index = rootFileNames.indexOf(sourceFile.fileName);
+ let index = rootFileNames.indexOf(sourceFile.fileName);
305
if (index >= 0) {
306
rootFileNames.splice(index, 1);
307
}
0 commit comments