Skip to content

Commit 1c5ba15

Browse files
committed
fix: disable no-non-null-assertion for line were its clearly not an issue
1 parent d7d9ceb commit 1c5ba15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CustomAsyncIterator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export class CustomAsyncIterator<T, TReturn = unknown, TNext = undefined> implem
109109
private pullValue(): Promise<IteratorResult<T, TReturn>> {
110110
return new Promise(resolve => {
111111
if (this.pushQueue.length !== 0) {
112+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
112113
resolve({ value: this.pushQueue.shift()!, done: false });
113114
return;
114115
}

0 commit comments

Comments
 (0)