芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/react-intl/lib/utils.d.ts
import { IntlConfig, IntlCache, CustomFormats, Formatters } from './types'; import { IntlRelativeTimeFormatOptions } from '@formatjs/intl-relativetimeformat'; import { ReactIntlError } from './error'; export declare function filterProps
, K extends string>(props: T, whitelist: Array
, defaults?: Partial
): Pick
; export declare function invariantIntlContext(intl?: any): asserts intl; export declare function defaultErrorHandler(error: ReactIntlError): void; export declare const DEFAULT_INTL_CONFIG: Pick
; export declare function createIntlCache(): IntlCache; /** * Create intl formatters and populate cache * @param cache explicit cache to prevent leaking memory */ export declare function createFormatters(cache?: IntlCache): Formatters; export declare function getNamedFormat
(formats: CustomFormats, type: T, name: string, onError: (err: ReactIntlError) => void): Intl.NumberFormatOptions | Intl.DateTimeFormatOptions | IntlRelativeTimeFormatOptions | undefined;