Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/intl-messageformat/dist/formatters.d.ts
Назад
import { MessageFormatElement } from 'intl-messageformat-parser'; export interface Formats { number: Record<string, Intl.NumberFormatOptions>; date: Record<string, Intl.DateTimeFormatOptions>; time: Record<string, Intl.DateTimeFormatOptions>; } export interface FormatterCache { number: Record<string, Intl.NumberFormat>; dateTime: Record<string, Intl.DateTimeFormat>; pluralRules: Record<string, Intl.PluralRules>; } export interface Formatters { getNumberFormat(...args: ConstructorParameters<typeof Intl.NumberFormat>): Intl.NumberFormat; getDateTimeFormat(...args: ConstructorParameters<typeof Intl.DateTimeFormat>): Intl.DateTimeFormat; getPluralRules(...args: ConstructorParameters<typeof Intl.PluralRules>): Intl.PluralRules; } export declare const enum PART_TYPE { literal = 0, object = 1 } export interface LiteralPart { type: PART_TYPE.literal; value: string; } export interface ObjectPart<T = any> { type: PART_TYPE.object; value: T; } export declare type MessageFormatPart<T> = LiteralPart | ObjectPart<T>; export declare type PrimitiveType = string | number | boolean | null | undefined | Date; export declare function formatToParts<T>(els: MessageFormatElement[], locales: string | string[], formatters: Formatters, formats: Formats, values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T>>, currentPluralValue?: number, originalMessage?: string): MessageFormatPart<T>[]; export declare type FormatXMLElementFn<T, R = string | Array<string | T>> = (...args: Array<string | T>) => R; //# sourceMappingURL=formatters.d.ts.map
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка