6 lines
367 B
TypeScript
6 lines
367 B
TypeScript
import { Formatters, IntlFormatters, OnErrorFn } from './types';
|
|
export declare function formatDisplayName({ locale, onError, }: {
|
|
locale: string;
|
|
onError: OnErrorFn;
|
|
}, getDisplayNames: Formatters['getDisplayNames'], value: Parameters<IntlFormatters['formatDisplayName']>[0], options: Parameters<IntlFormatters['formatDisplayName']>[1]): string | undefined;
|