From 891e5f1f9615267fbdddaabe3abdf459f8fda002 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 21 Aug 2015 14:40:08 -0700 Subject: [PATCH] Added indexer to 'InterpolationOptions' and fixed 'smart_count' type in 'node_polyglot'. --- node-polyglot/node-polyglot.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node-polyglot/node-polyglot.d.ts b/node-polyglot/node-polyglot.d.ts index 0f5bd89229..7c29b745c7 100644 --- a/node-polyglot/node-polyglot.d.ts +++ b/node-polyglot/node-polyglot.d.ts @@ -6,8 +6,10 @@ declare module "node-polyglot" { module Polyglot { interface InterpolationOptions { - smart_count?: number; + smart_count?: number | { length: number }; _?: string; + + [interpolationKey: string]: any; } interface PolyglotOptions {