20 lines
669 B
TypeScript
20 lines
669 B
TypeScript
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;
|
|
}
|