vue-intl 7.2.14 → 7.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +8 -8
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -15,21 +15,21 @@ declare module "vue" {
15
15
  $formatList: IntlFormatters$1["formatList"];
16
16
  }
17
17
  }
18
- declare const createIntl: (options: IntlConfig$1) => Plugin;
18
+ export declare const createIntl: (options: IntlConfig$1) => Plugin;
19
19
  //#endregion
20
20
  //#region packages/vue-intl/provider.d.ts
21
- declare function provideIntl(intl: IntlShape$1<VNode>): void;
22
- declare function useIntl(): IntlShape$1<VNode<RendererNode, RendererElement, {
21
+ export declare function provideIntl(intl: IntlShape$1<VNode>): void;
22
+ export declare function useIntl(): IntlShape$1<VNode<RendererNode, RendererElement, {
23
23
  [key: string]: any;
24
24
  }>>;
25
25
  //#endregion
26
26
  //#region packages/vue-intl/injection-key.d.ts
27
- declare const intlKey: unique symbol;
27
+ export declare const intlKey: unique symbol;
28
28
  //#endregion
29
29
  //#region packages/vue-intl/index.d.ts
30
- type IntlFormatters = IntlFormatters$1<VNode>;
31
- declare function defineMessages<K extends keyof any, T = MessageDescriptor$1, U extends Record<K, T> = Record<K, T>>(msgs: U): U;
32
- declare function defineMessage<T>(msg: T): T;
30
+ export type IntlFormatters = IntlFormatters$1<VNode>;
31
+ export declare function defineMessages<K extends keyof any, T = MessageDescriptor$1, U extends Record<K, T> = Record<K, T>>(msgs: U): U;
32
+ export declare function defineMessage<T>(msg: T): T;
33
33
  //#endregion
34
- export { type CustomFormatConfig, type CustomFormats, type FormatDateOptions, type FormatDisplayNameOptions, type FormatListOptions, type FormatNumberOptions, type FormatPluralOptions, type FormatRelativeTimeOptions, type Formatters, type IntlCache, type IntlConfig, IntlError, IntlErrorCode, IntlFormatters, type IntlShape, InvalidConfigError, type MessageDescriptor, type MessageFormatElement, MessageFormatError, MissingDataError, MissingTranslationError, type ResolvedIntlConfig, UnsupportedFormatterError, createIntl, createIntlCache, defineMessage, defineMessages, intlKey, provideIntl, useIntl };
34
+ export { type CustomFormatConfig, type CustomFormats, type FormatDateOptions, type FormatDisplayNameOptions, type FormatListOptions, type FormatNumberOptions, type FormatPluralOptions, type FormatRelativeTimeOptions, type Formatters, type IntlCache, type IntlConfig, IntlError, IntlErrorCode, type IntlShape, InvalidConfigError, type MessageDescriptor, type MessageFormatElement, MessageFormatError, MissingDataError, MissingTranslationError, type ResolvedIntlConfig, UnsupportedFormatterError, createIntlCache };
35
35
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intl",
3
- "version": "7.2.14",
3
+ "version": "7.2.16",
4
4
  "description": "formatjs intl binding for vue",
5
5
  "keywords": [
6
6
  "formatjs",
@@ -22,8 +22,8 @@
22
22
  ".": "./index.js"
23
23
  },
24
24
  "dependencies": {
25
- "@formatjs/icu-messageformat-parser": "3.5.15",
26
- "@formatjs/intl": "4.1.17"
25
+ "@formatjs/icu-messageformat-parser": "3.5.17",
26
+ "@formatjs/intl": "4.1.19"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "vue": "3"