File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -758,18 +758,18 @@ export type IStateMatch = Predicate<StateDeclaration>
758
758
* ```
759
759
*/
760
760
export interface HookMatchCriteria {
761
- [ key : string ] : HookMatchCriterion ;
761
+ [ key : string ] : HookMatchCriterion | undefined ;
762
762
763
763
/** A [[HookMatchCriterion]] to match the destination state */
764
- to ?: HookMatchCriterion | undefined ;
764
+ to ?: HookMatchCriterion ;
765
765
/** A [[HookMatchCriterion]] to match the original (from) state */
766
- from ?: HookMatchCriterion | undefined ;
766
+ from ?: HookMatchCriterion ;
767
767
/** A [[HookMatchCriterion]] to match any state that would be exiting */
768
- exiting ?: HookMatchCriterion | undefined ;
768
+ exiting ?: HookMatchCriterion ;
769
769
/** A [[HookMatchCriterion]] to match any state that would be retained */
770
- retained ?: HookMatchCriterion | undefined ;
770
+ retained ?: HookMatchCriterion ;
771
771
/** A [[HookMatchCriterion]] to match any state that would be entering */
772
- entering ?: HookMatchCriterion | undefined ;
772
+ entering ?: HookMatchCriterion ;
773
773
}
774
774
775
775
export interface IMatchingNodes {
You can’t perform that action at this time.
0 commit comments