From ac9aaac54b5dccae2e4e6816c6ec152a841ada56 Mon Sep 17 00:00:00 2001 From: Daniel Reisel Date: Fri, 20 Jan 2017 10:20:09 +0200 Subject: [PATCH] added type annotation --- src/utils/messages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/messages.ts b/src/utils/messages.ts index 1e10eda78..b8b11152f 100644 --- a/src/utils/messages.ts +++ b/src/utils/messages.ts @@ -40,6 +40,6 @@ const messages = { } -export function getMessage(id) { +export function getMessage(id : string) { return messages[id]; }; \ No newline at end of file