-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Adapt sources after upgrading the build environment
- Loading branch information
Showing
8 changed files
with
58 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
declare type getPluralFormForCardinal = (count: number) => number | ||
|
||
declare function getPluralFormForCardinalByLocale (locale: string, count: number): number | ||
declare function getPluralFormNameForCardinalByLocale (locale: string, count: number): string | ||
|
||
declare function getPluralFormForCardinalByIndex (index: number, count: number): number | ||
declare function getPluralFormNameForCardinalByIndex (index: number, count: number): string | ||
|
||
declare function getPluralRuleForCardinalsByLocale (locale: string): Function | ||
declare function getPluralRuleForNamedFormsForCardinalsByLocale (locale: string): Function | ||
declare function getPluralRuleForCardinalsByLocale (locale: string): getPluralFormForCardinal | ||
declare function getPluralRuleForNamedFormsForCardinalsByLocale (locale: string): getPluralFormForCardinal | ||
|
||
declare function getPluralRuleForCardinalsByIndex (index: number): Function | ||
declare function getPluralRuleForNamedFormsForCardinalsByIndex (index: number): Function | ||
declare function getPluralRuleForCardinalsByIndex (index: number): getPluralFormForCardinal | ||
declare function getPluralRuleForNamedFormsForCardinalsByIndex (index: number): getPluralFormForCardinal | ||
|
||
export { | ||
getPluralFormForCardinalByLocale, getPluralRuleForCardinalsByLocale, | ||
getPluralFormNameForCardinalByLocale, getPluralRuleForNamedFormsForCardinalsByLocale, | ||
getPluralFormForCardinalByIndex, getPluralRuleForCardinalsByIndex, | ||
getPluralFormNameForCardinalByIndex, getPluralRuleForNamedFormsForCardinalsByIndex | ||
getPluralFormNameForCardinalByIndex, getPluralRuleForNamedFormsForCardinalsByIndex, | ||
getPluralFormForCardinal | ||
} | ||
|
||
export as namespace fastPluralRules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters