(instance: any, method: string)
| 39 | } |
| 40 | |
| 41 | function validateInstance(instance: any, method: string) { |
| 42 | if (!(instance instanceof PluralRules)) { |
| 43 | throw new TypeError( |
| 44 | `Method Intl.PluralRules.prototype.${method} called on incompatible receiver ${String( |
| 45 | instance |
| 46 | )}` |
| 47 | ) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | export interface PluralRulesInternal extends NumberFormatDigitInternalSlots { |
| 52 | initializedPluralRules: boolean |
no outgoing calls
no test coverage detected