messageformat
Version:
Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill
9 lines (8 loc) • 353 B
TypeScript
import type { MessageFunctionContext } from './index.ts';
import { MessageNumber } from './number.ts';
/**
* `offset` accepts a numeric value as input and adds or subtracts an integer value from it
*
* @beta
*/
export declare function offset(ctx: MessageFunctionContext, exprOpt: Record<string | symbol, unknown>, operand?: unknown): MessageNumber;