mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Added indexer to 'InterpolationOptions' and fixed 'smart_count' type in 'node_polyglot'.
This commit is contained in:
1 parent
39907d8c4d
commit
891e5f1f96
1 file changed
+3
-1
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