aboutsummaryrefslogtreecommitdiff
path: root/src/i18n.tsx
diff options
context:
space:
mode:
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);