mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Added indexer to 'InterpolationOptions' and fixed 'smart_count' type in 'node_polyglot'.
This commit is contained in:
Vendored
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user