Skip to content

Commit b45f82e

Browse files
12wrigjacopybara-github
authored andcommitted
Update externs for Intl.PluralRules to include the roundingIncrement, roundingPriority, and trailingZeroDisplay options.
PiperOrigin-RevId: 620901161
1 parent 50c0b92 commit b45f82e

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

externs/browser/intl.js

+12-8
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,18 @@ Intl.DisplayNames.prototype.resolvedOptions = function() {};
251251
* @constructor
252252
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/PluralRules#Syntax
253253
* @param {string|Array<string>=} locales
254-
* @param {{localeMatcher: (string|undefined), type: (string|undefined),
255-
* minimumIntegerDigits: (number|undefined),
256-
* minimumFractionDigits: (number|undefined),
257-
* maximumFractionDigits: (number|undefined),
258-
* minimumSignificantDigits: (number|undefined),
259-
* maximumSignificantDigits: (number|undefined),
260-
* roundingMode: (string|undefined)}=}
261-
* options
254+
* @param {{
255+
* localeMatcher: (string|undefined), type: (string|undefined),
256+
* minimumIntegerDigits: (number|undefined),
257+
* minimumFractionDigits: (number|undefined),
258+
* maximumFractionDigits: (number|undefined),
259+
* minimumSignificantDigits: (number|undefined),
260+
* maximumSignificantDigits: (number|undefined),
261+
* roundingMode: (string|undefined),
262+
* roundingIncrement: (number|undefined),
263+
* roundingPriority: (string|undefined),
264+
* trailingZeroDisplay: (string|undefined),
265+
* }=} options
262266
*/
263267
Intl.PluralRules = function(locales, options) {};
264268

0 commit comments

Comments
 (0)