UNPKG

option-t

Version:

A toolkit of Nullable/Option/Result type implementation in ECMAScript. Their APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.

6 lines (5 loc) 363 B
export declare const ERR_MSG_TRANSFORMER_MUST_NOT_RETURN: string; export declare const ERR_MSG_CALLED_WITH = "called with "; export declare const ERR_MSG_DEFAULT_VALUE_MUST_NOT_BE: string; export declare const ERR_MSG_RECOVERER_MUST_NOT_RETURN: string; export declare const ERR_MSG_INPUT_IS_FROZEN_NOT_CAST_TO_MUTABLE = "input is frozen, cannot cast to mutable";