Added indexer to 'InterpolationOptions' and fixed 'smart_count' type in 'node_polyglot'.

This commit is contained in:
Daniel Rosenwasser
2015-08-21 14:40:08 -07:00
parent 39907d8c4d
commit 891e5f1f96

View File

@@ -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 {