mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 17:08:21 +08:00
Added indexer to 'InterpolationOptions' and fixed 'smart_count' type in 'node_polyglot'.
This commit is contained in:
4
node-polyglot/node-polyglot.d.ts
vendored
4
node-polyglot/node-polyglot.d.ts
vendored
@@ -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