UNPKG

@formatjs/cli-lib

Version:
10 lines (9 loc) 372 B
import type { Comparator } from 'json-stable-stringify'; import { CompileFn, FormatFn, SerializeFn } from './default'; export interface Formatter<T> { serialize?: SerializeFn<T>; format: FormatFn<T>; compile: CompileFn<T>; compareMessages?: Comparator; } export declare function resolveBuiltinFormatter(format?: string | Formatter<unknown>): Promise<any>;