CustomFormatter type

A custom formatter function. See Custom Formatters for more details.

Signature:

export type CustomFormatter = (value: unknown, locale: string, arg: string | null) => unknown;