Skip to content

Commit 2a2fe3a

Browse files
authored
enhance: schema not needed in action (#1029)
1 parent 8a75d1c commit 2a2fe3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export type FetchOptions<F extends FetchFunction = FetchFunction> =
6767
EndpointExtraOptions<F>;
6868

6969
export interface ReceiveMeta<S extends Schema | undefined> {
70-
schema: S;
70+
schema?: S;
7171
key: string;
7272
args?: readonly any[];
7373
updaters?: Record<string, UpdateFunction<S, any>>;
@@ -101,7 +101,7 @@ interface FetchMeta<
101101
S extends Schema | undefined = any,
102102
> {
103103
type: FetchShape<any, any>['type'];
104-
schema: S;
104+
schema?: S;
105105
key: string;
106106
args?: readonly any[];
107107
updaters?: Record<string, UpdateFunction<S, any>>;

0 commit comments

Comments
 (0)