Skip to content

Commit

Permalink
added type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Reisel committed Jan 20, 2017
1 parent 0c5cfbe commit ac9aaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ const messages = {

}

export function getMessage(id) {
export function getMessage(id : string) {
return messages[id];
};

0 comments on commit ac9aaac

Please sign in to comment.