diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
commit | 5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch) | |
tree | af7db4ee60b3fc624d7b0e8c94f2b72517b5269d /src/i18n.tsx | |
parent | d5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff) |
fix build system / types
Diffstat (limited to 'src/i18n.tsx')
-rw-r--r-- | src/i18n.tsx | 2 |
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); |