Skip to content

Commit 4528f34

Browse files
committed
fix(type): fix apply() type
1 parent b185652 commit 4528f34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/apply.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ export function apply<
146146
return create<T, F>(state, mutate, {
147147
...applyOptions,
148148
enablePatches: false,
149-
}) as any;
149+
}) as T as ApplyResult<T, F, A>;
150150
}

0 commit comments

Comments
 (0)