@ttoss/react-i18n 1.22.1 → 1.23.1

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.
package/README.md CHANGED
@@ -14,7 +14,7 @@ You should declare your messages as describe in the [FormatJS](https://formatjs.
14
14
  yarn add @ttoss/react-i18n @ttoss/i18n-cli
15
15
  ```
16
16
 
17
- To extract and compile your translations, check the [ttoss/i18n-cli](https://ttoss.dev/docs/modules/packages/i18n-cli/) documentation.
17
+ To extract and compile your translations, check the [ttoss/i18n-cli](./i18n-cli/) documentation.
18
18
 
19
19
  ## Examples of use
20
20
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_intl from 'react-intl';
2
- export { FormattedMessage, IntlShape, defineMessage, defineMessages } from 'react-intl';
2
+ export { FormattedMessage, IntlShape, MessageDescriptor, defineMessage, defineMessages } from 'react-intl';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as React from 'react';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/react-i18n",
3
- "version": "1.22.1",
3
+ "version": "1.23.1",
4
4
  "license": "UNLICENSED",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -23,12 +23,12 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@formatjs/cli": "^6.0.4",
26
- "@types/react": "^18.2.6",
26
+ "@types/react": "^18.2.8",
27
27
  "jest": "^29.5.0",
28
28
  "tsup": "^6.7.0",
29
- "@ttoss/config": "^1.30.0",
30
- "@ttoss/i18n-cli": "^0.5.0",
31
- "@ttoss/test-utils": "^1.23.1"
29
+ "@ttoss/config": "^1.30.1",
30
+ "@ttoss/i18n-cli": "^0.6.0",
31
+ "@ttoss/test-utils": "^1.23.2"
32
32
  },
33
33
  "keywords": [
34
34
  "React",
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ export {
3
3
  defineMessage,
4
4
  FormattedMessage,
5
5
  type IntlShape,
6
+ type MessageDescriptor,
6
7
  } from 'react-intl';
7
8
  export {
8
9
  I18nProvider,