|
1 | | -import type { MessageExpressionPart } from '../formatted-parts.js'; |
2 | | - |
| 1 | +export type { MessageValue } from '../message-value.js'; |
3 | 2 | export type { MessageFunctionContext } from '../resolve/function-context.js'; |
4 | 3 | export { currency } from './currency.js'; |
5 | | -export { type MessageDateTime, date, datetime, time } from './datetime.js'; |
6 | | -export { type MessageFallback, fallback } from './fallback.js'; |
| 4 | +export { date, datetime, time, type MessageDateTime } from './datetime.js'; |
| 5 | +export { fallback, type MessageFallback } from './fallback.js'; |
7 | 6 | export { math } from './math.js'; |
8 | | -export { type MessageNumber, integer, number } from './number.js'; |
9 | | -export { type MessageString, string } from './string.js'; |
10 | | -export { type MessageUnknownValue, unknown } from './unknown.js'; |
11 | | - |
12 | | -export interface MessageValue { |
13 | | - readonly type: string; |
14 | | - readonly source: string; |
15 | | - readonly locale: string; |
16 | | - readonly dir?: 'ltr' | 'rtl' | 'auto'; |
17 | | - readonly options?: Readonly<object>; |
18 | | - selectKey?: (keys: Set<string>) => string | null; |
19 | | - toParts?: () => MessageExpressionPart[]; |
20 | | - toString?: () => string; |
21 | | - valueOf?: () => unknown; |
22 | | -} |
| 7 | +export { integer, number, type MessageNumber } from './number.js'; |
| 8 | +export { string, type MessageString } from './string.js'; |
| 9 | +export { unknown, type MessageUnknownValue } from './unknown.js'; |
0 commit comments