Skip to content

Commit da80693

Browse files
committed
safeTry should not require .safeUnwrap()
1 parent 609b398 commit da80693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/result.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export class Ok<T, E> implements IResult<T, E> {
382382
throw createNeverThrowError('Called `_unsafeUnwrapErr` on an Ok', this, config)
383383
}
384384

385-
// eslint-disable-next-line @typescript-eslint/no-this-alias require-yield
385+
// eslint-disable-next-line @typescript-eslint/no-this-alias, require-yield
386386
*[Symbol.iterator](): Generator<Err<never, E>, T> {
387387
return this.value
388388
}

0 commit comments

Comments
 (0)