Skip to content

Commit e1f2808

Browse files
restore generic type for snapshot to avoid typecheck error
1 parent 824b3b6 commit e1f2808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1994,7 +1994,7 @@ export interface ActorRef<
19941994
emitted: TEmitted & (TType extends '*' ? unknown : { type: TType })
19951995
) => void
19961996
) => Subscription;
1997-
select<TSelected>(
1997+
select<TSelected, TSnapshot>(
19981998
selector: (snapshot: TSnapshot) => TSelected,
19991999
equalityFn?: (a: TSelected, b: TSelected) => boolean
20002000
): Readable<TSelected>;

0 commit comments

Comments
 (0)