diff options
Diffstat (limited to 'intl/icu_capi/js/package/lib/ICU4XPluralOperands.d.ts')
-rw-r--r-- | intl/icu_capi/js/package/lib/ICU4XPluralOperands.d.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/intl/icu_capi/js/package/lib/ICU4XPluralOperands.d.ts b/intl/icu_capi/js/package/lib/ICU4XPluralOperands.d.ts new file mode 100644 index 0000000000..a521100d17 --- /dev/null +++ b/intl/icu_capi/js/package/lib/ICU4XPluralOperands.d.ts @@ -0,0 +1,20 @@ +import { FFIError } from "./diplomat-runtime" +import { ICU4XError } from "./ICU4XError"; + +/** + + * FFI version of `PluralOperands`. + + * See the {@link https://docs.rs/icu/latest/icu/plurals/struct.PluralOperands.html Rust documentation for `PluralOperands`} for more information. + */ +export class ICU4XPluralOperands { + + /** + + * Construct for a given string representing a number + + * See the {@link https://docs.rs/icu/latest/icu/plurals/struct.PluralOperands.html#method.from_str Rust documentation for `from_str`} for more information. + * @throws {@link FFIError}<{@link ICU4XError}> + */ + static create_from_string(s: string): ICU4XPluralOperands | never; +} |