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

Commit

Permalink
Export passed through types for TranslationsObjectType and TranslateF…
Browse files Browse the repository at this point in the history
…uncType (#233)

* Export types for TranslationsObjectType and TranslateFuncType passed through from fusion-plugin-i18n

* Bump fusion-plugin-i18n pre-release version to @latest
  • Loading branch information
AlexMSmithCA committed Apr 4, 2019
1 parent 0490a33 commit cd0ca0d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prepublish": "npm run transpile"
},
"dependencies": {
"fusion-plugin-i18n": "^1.2.1-0",
"fusion-plugin-i18n": "^1.2.2-1",
"prop-types": "^15.6.2"
},
"peerDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ export {
HydrationStateToken,
createI18nLoader,
} from 'fusion-plugin-i18n';
export type {
I18nDepsType,
I18nServiceType,
TranslationsObjectType,
TranslateFuncType,
} from 'fusion-plugin-i18n';

export {withTranslations} from './with-translations';
export {Translate} from './translate';

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3321,10 +3321,10 @@ fusion-core@^1.10.1:
ua-parser-js "^0.7.19"
uuid "^3.3.2"

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

0 comments on commit cd0ca0d

Please sign in to comment.