mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
do not use for-of and const
https://github.com/Microsoft/TypeScript/issues/10220
This commit is contained in:
@@ -67,7 +67,7 @@ class Trait<T> implements IDisposable {
|
||||
const end = start + deleteCount;
|
||||
const indexes = [];
|
||||
|
||||
for (const index of indexes) {
|
||||
for (let index of indexes) {
|
||||
if (index >= start && index < end) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user