Skip to content

Commit

Permalink
Merge pull request #9 from biotope/add-state-interface
Browse files Browse the repository at this point in the history
Add state interface to initial state creator
  • Loading branch information
SheepFromHeaven authored Jun 5, 2018
2 parents 52db560 + 99955cd commit dc270b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/component/stateful/state.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export interface {{pascalCase name}}State {

}

export const createInitial{{pascalCase name}}State = () => ({
export const createInitial{{pascalCase name}}State = (): {{pascalCase name}}State => ({

});

0 comments on commit dc270b0

Please sign in to comment.