From 121e63d7077eaf9b0c46f0712678db5ad2f5ba16 Mon Sep 17 00:00:00 2001 From: Pascal Brokmeier Date: Thu, 8 Jun 2017 17:47:51 +0200 Subject: [PATCH] fix(alexa-sdk): added this.i interface for i18n > Once you are done defining and enabling language strings, you can access these > strings using the this.t() function. Strings will be rendered in the language > that matches the locale of the incoming request. Extract from [alexa skills kit sdk readme](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs) --- types/alexa-sdk/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/alexa-sdk/index.d.ts b/types/alexa-sdk/index.d.ts index c19892425d..7f3f022137 100644 --- a/types/alexa-sdk/index.d.ts +++ b/types/alexa-sdk/index.d.ts @@ -39,6 +39,7 @@ interface Handler { context: any; name: any; isOverriden: any; + t: (token: String) => void; } interface Context {