aboutsummaryrefslogtreecommitdiff
path: root/src/i18n.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-14 04:59:43 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-14 04:59:43 +0200
commit5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch)
treeaf7db4ee60b3fc624d7b0e8c94f2b72517b5269d /src/i18n.tsx
parentd5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff)
downloadwallet-core-5634e77ad96bfe1818f6b6ee70b7379652e5487f.tar.xz
fix build system / types
Diffstat (limited to 'src/i18n.tsx')
-rw-r--r--src/i18n.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i18n.tsx b/src/i18n.tsx
index 8f2c15443..437c4a6a0 100644
--- a/src/i18n.tsx
+++ b/src/i18n.tsx
@@ -112,7 +112,7 @@ interface TranslateProps {
* </Translate>
* ```
*/
-export class Translate extends React.Component<TranslateProps, void> {
+export class Translate extends React.Component<TranslateProps, {}> {
render(): JSX.Element {
const s = stringifyChildren(this.props.children);
const tr = jed.ngettext(s, s, 1).split(/%(\d+)\$s/).filter((e: any, i: number) => i % 2 === 0);