mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
cleanup ignore lint error: no-conditional-assignment
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-conditional-assignment": false,
|
||||
"no-construct": false,
|
||||
"no-var-requires": false
|
||||
}
|
||||
|
||||
@@ -571,8 +571,7 @@ describe('File', () => {
|
||||
|
||||
// Start flowing file2
|
||||
file2.contents.on('readable', function(this: NodeJS.ReadableStream) {
|
||||
let chunk: string | Buffer;
|
||||
while ((chunk = this.read()) !== null) {
|
||||
for (let chunk: string | Buffer = this.read(); chunk !== null; chunk = this.read()) {
|
||||
data2 += chunk.toString();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user