Skip to content

Commit c61999b

Browse files
authored
docs: fix getBoth return type (#3167)
1 parent 747e97f commit c61999b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guides/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ interface FishSlice {
428428

429429
interface SharedSlice {
430430
addBoth: () => void
431-
getBoth: () => void
431+
getBoth: () => number
432432
}
433433

434434
const createBearSlice: StateCreator<

0 commit comments

Comments
 (0)