Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.

Commit cd0ca0d

Browse files
authored
Export passed through types for TranslationsObjectType and TranslateFuncType (#233)
* Export types for TranslationsObjectType and TranslateFuncType passed through from fusion-plugin-i18n * Bump fusion-plugin-i18n pre-release version to @latest
1 parent 0490a33 commit cd0ca0d

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"prepublish": "npm run transpile"
3030
},
3131
"dependencies": {
32-
"fusion-plugin-i18n": "^1.2.1-0",
32+
"fusion-plugin-i18n": "^1.2.2-1",
3333
"prop-types": "^15.6.2"
3434
},
3535
"peerDependencies": {

src/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ export {
1414
HydrationStateToken,
1515
createI18nLoader,
1616
} from 'fusion-plugin-i18n';
17+
export type {
18+
I18nDepsType,
19+
I18nServiceType,
20+
TranslationsObjectType,
21+
TranslateFuncType,
22+
} from 'fusion-plugin-i18n';
23+
1724
export {withTranslations} from './with-translations';
1825
export {Translate} from './translate';
1926

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3321,10 +3321,10 @@ fusion-core@^1.10.1:
33213321
ua-parser-js "^0.7.19"
33223322
uuid "^3.3.2"
33233323

3324-
fusion-plugin-i18n@^1.2.1-0:
3325-
version "1.2.1-0"
3326-
resolved "https://registry.yarnpkg.com/fusion-plugin-i18n/-/fusion-plugin-i18n-1.2.1-0.tgz#64c05c6caa60ed3557afbfa3062138c6f7c1f45e"
3327-
integrity sha512-vECtUXL2rDv8deqnR2//V7+2XozODR+96b5kjouEy+MCPOvH3MvaGrq10FA6hpZMYrXXeZ47hkJBBFY+Y96tGg==
3324+
fusion-plugin-i18n@^1.2.2-1:
3325+
version "1.2.2-1"
3326+
resolved "https://registry.yarnpkg.com/fusion-plugin-i18n/-/fusion-plugin-i18n-1.2.2-1.tgz#c171daff506356c40e761195fb20691c9032d06f"
3327+
integrity sha512-sWwLinB3qE1dgFMNkW+zx0jaYGiygs2C08KpusvzKPJheidkWS3HuewLaPCoJodQryC9MgrnyVKShI5xYB6GHA==
33283328
dependencies:
33293329
locale "^0.1.0"
33303330
rollup "^0.67.3"

0 commit comments

Comments
 (0)