Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Apr 12, 2023
1 parent 2af63e4 commit f33522b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent/ChainRune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class ChainRune<out C extends Chain, out U> extends Rune<C, U> {

with(connect: (signal: AbortSignal) => Connection) {
const connection = ConnectionRune.from(connect)
return Rune.rec({ connection, metadata: this.metadata } as C).into(ChainRune)
return Rune.rec({ connection, metadata: this.metadata }).into(ChainRune) as ChainRune<C, U>
}

connection = this.into(ValueRune<Chain, U>).access("connection").into(ConnectionRune)
Expand Down

0 comments on commit f33522b

Please sign in to comment.