From 001ec0402c160caebba633750631258d8798cf3d Mon Sep 17 00:00:00 2001 From: maxwkh Date: Wed, 10 Apr 2019 21:11:01 +0900 Subject: [PATCH] Add missing type definition for withTranslation options (#821) --- src/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.d.ts b/src/index.d.ts index 08666dbae..6761b64c7 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -75,6 +75,9 @@ export interface WithTranslation extends i18next.WithT { } export function withTranslation( ns?: Namespace, + options?: { + withRef?: boolean; + } ):

( component: React.ComponentType

, ) => React.ComponentType>;