Skip to content

Commit 827fbb0

Browse files
committed
fix(lib): remove callable signature without new from Intl.PluralRules (#63606)
1 parent 637d574 commit 827fbb0

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/lib/es2018.intl.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ declare namespace Intl {
3131

3232
interface PluralRulesConstructor {
3333
new (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;
34-
(locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;
3534
supportedLocalesOf(locales: string | readonly string[], options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
3635
}
3736

src/lib/es2020.intl.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ declare namespace Intl {
449449

450450
interface PluralRulesConstructor {
451451
new (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;
452-
(locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;
453452

454453
supportedLocalesOf(locales: LocalesArgument, options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
455454
}

0 commit comments

Comments
 (0)