Skip to content

Commit

Permalink
chore: removed optional state from state schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lem-onade committed Oct 7, 2021
1 parent 32a8f7d commit 45e46c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dgt-components/lib/components/state/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export interface Schema<TContext, TStates extends string> extends StateSchema<TC
* States within the machine.
*/
states?: {
[key in TStates]?: StateSchema<TContext>;
[key in TStates]: StateSchema<TContext>;
};
}

0 comments on commit 45e46c2

Please sign in to comment.