UNPKG

messageformat

Version:

Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill

5 lines (4 loc) 275 B
import type { Context } from '../format-context.ts'; import type { MessageMarkupPart } from '../formatted-parts.ts'; import type { Markup } from '../data-model/types.ts'; export declare function formatMarkup(ctx: Context, { kind, name, options }: Markup): MessageMarkupPart;