Skip to content

Commit

Permalink
fix: cherry pick fix for ActionSelector on @next branch
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Aug 30, 2019
1 parent b5c2c8d commit 1e9de48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export type StrictSchema<Target = any, Source = any> = {
| ActionString<Source>
| ActionFunction<Target, Source, Target[destinationProperty]>
| ActionAggregator<Source>
| ActionSelector<Source, Target[destinationProperty]>
| ActionSelector<Source, Target>
| StrictSchema<Target[destinationProperty], Source>;
} & { [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target> };
export type Schema<Target = any, Source = any> = {
Expand All @@ -46,7 +46,7 @@ export type Schema<Target = any, Source = any> = {
| ActionString<Source>
| ActionFunction<Target, Source, Target[destinationProperty]>
| ActionAggregator<Source>
| ActionSelector<Source, Target[destinationProperty]>
| ActionSelector<Source, Target>
| Schema<Target[destinationProperty], Source>;
} & { [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target | any> };

Expand Down

0 comments on commit 1e9de48

Please sign in to comment.