Skip to content

Commit 1e9de48

Browse files
committed
fix: cherry pick fix for ActionSelector on @next branch
1 parent b5c2c8d commit 1e9de48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export type StrictSchema<Target = any, Source = any> = {
3737
| ActionString<Source>
3838
| ActionFunction<Target, Source, Target[destinationProperty]>
3939
| ActionAggregator<Source>
40-
| ActionSelector<Source, Target[destinationProperty]>
40+
| ActionSelector<Source, Target>
4141
| StrictSchema<Target[destinationProperty], Source>;
4242
} & { [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target> };
4343
export type Schema<Target = any, Source = any> = {
@@ -46,7 +46,7 @@ export type Schema<Target = any, Source = any> = {
4646
| ActionString<Source>
4747
| ActionFunction<Target, Source, Target[destinationProperty]>
4848
| ActionAggregator<Source>
49-
| ActionSelector<Source, Target[destinationProperty]>
49+
| ActionSelector<Source, Target>
5050
| Schema<Target[destinationProperty], Source>;
5151
} & { [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target | any> };
5252

0 commit comments

Comments
 (0)