Skip to content

Commit

Permalink
docs(State): align description of state.State.includes with actual …
Browse files Browse the repository at this point in the history
…implementation (#48)
  • Loading branch information
RobYed authored and christopherthielen committed May 9, 2017
1 parent eee888d commit 1f2f74a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/state/stateObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ export class StateObject {
*/
public data: any;

/** An array of strings of the parent States' names */
public includes: { [name: string] : boolean };
/**
* An object containing the parent States' names as keys and
* true as their values.
*/
public includes: { [name: string]: boolean };

/** Prototypally inherits from [[StateDeclaration.onExit]] */
public onExit: TransitionStateHookFn;
Expand Down

0 comments on commit 1f2f74a

Please sign in to comment.