mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix optional parameters (#45728)
This commit is contained in:
parent
385d6cbe7a
commit
bf2a6e1785
4
types/node-polyglot/index.d.ts
vendored
4
types/node-polyglot/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for node-polyglot v0.4.4
|
||||
// Type definitions for node-polyglot v2.4.0
|
||||
// Project: https://github.com/airbnb/polyglot.js
|
||||
// Definitions by: Tim Jackson-Kiely <https://github.com/timjk>
|
||||
// Liam Ross <https://github.com/liamross>
|
||||
@ -22,7 +22,7 @@ declare namespace Polyglot {
|
||||
phrases?: any;
|
||||
locale?: string;
|
||||
allowMissing?: boolean;
|
||||
onMissingKey?: (key: string, options?: Polyglot.InterpolationOptions, locale?: string) => string;
|
||||
onMissingKey?: (key: string, options: Polyglot.InterpolationOptions, locale: string) => string;
|
||||
warn?: (message: string) => void;
|
||||
interpolation?: InterpolationTokenOptions;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user