You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
interfaceFileList{readonlylength: number;item(index: number): File;[index: number]: File;}// fileList is an instance of a class that implements FileListfor(leti=0;i<fileList.length;i++){}
with tslint.json configuration:
prefer-for-of: true
Actual behavior
indicates that for loop should be for-of
Expected behavior
fileList is not actually an array and TypeScript errors if you try to make it use for-of
The text was updated successfully, but these errors were encountered:
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠️
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
Bug Report
4.3.1
2.1.4
TypeScript code being linted
with
tslint.json
configuration:prefer-for-of: true
Actual behavior
indicates that for loop should be for-of
Expected behavior
fileList
is not actually an array and TypeScript errors if you try to make it use for-ofThe text was updated successfully, but these errors were encountered: