Skip to content

Commit d7bf38e

Browse files
committed
fix: add type assertion to pass type checks
1 parent fed3049 commit d7bf38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class Core {
121121
// AsyncGenerator handling (intentionally skipping return/throw as caller only consumes via next())
122122
return (async function* () {
123123
try {
124-
yield* result;
124+
yield* (result as AsyncGenerator<any>);
125125
} finally {
126126
cleanup();
127127
}

0 commit comments

Comments
 (0)