Skip to content

Commit be77ca3

Browse files
committed
feat: allow for more flexible extend return type
1 parent cc18b97 commit be77ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/store/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export type EffectMethods<TMethods> = {
126126

127127
export type ExtendBuilder<TStore extends StoreApi<any, any, any>> = (
128128
store: TStore
129-
) => Record<string, (...args: any[]) => any>;
129+
) => Record<string, any>;
130130

131131
export type Simplify<T> = T extends any[] | Date
132132
? T

0 commit comments

Comments
 (0)