Skip to content

Commit f3cd6cb

Browse files
committed
Fix typecheck errors
1 parent ac71200 commit f3cd6cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/v3/apiClient/runStream.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ const isSafari = () => {
509509
*/
510510

511511
if (isSafari()) {
512-
// @ts-expect-error
512+
// @ts-ignore-error
513513
ReadableStream.prototype.values ??= function ({ preventCancel = false } = {}) {
514514
const reader = this.getReader();
515515
return {
@@ -541,6 +541,6 @@ if (isSafari()) {
541541
};
542542
};
543543

544-
// @ts-expect-error
544+
// @ts-ignore-error
545545
ReadableStream.prototype[Symbol.asyncIterator] ??= ReadableStream.prototype.values;
546546
}

0 commit comments

Comments
 (0)