Skip to content

Commit

Permalink
fix(typings): Allow strictNullChecks for HookMatchCriteria
Browse files Browse the repository at this point in the history
Closes #33
  • Loading branch information
christopherthielen committed Feb 24, 2017
1 parent 2f6aff9 commit d92d4d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/transition/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -761,15 +761,15 @@ export interface HookMatchCriteria {
[key: string]: HookMatchCriterion;

/** A [[HookMatchCriterion]] to match the destination state */
to?: HookMatchCriterion;
to?: HookMatchCriterion | undefined;
/** A [[HookMatchCriterion]] to match the original (from) state */
from?: HookMatchCriterion;
from?: HookMatchCriterion | undefined;
/** A [[HookMatchCriterion]] to match any state that would be exiting */
exiting?: HookMatchCriterion;
exiting?: HookMatchCriterion | undefined;
/** A [[HookMatchCriterion]] to match any state that would be retained */
retained?: HookMatchCriterion;
retained?: HookMatchCriterion | undefined;
/** A [[HookMatchCriterion]] to match any state that would be entering */
entering?: HookMatchCriterion;
entering?: HookMatchCriterion | undefined;
}

export interface IMatchingNodes {
Expand Down

0 comments on commit d92d4d5

Please sign in to comment.