diff --git a/src/hoc.tsx b/src/hoc.tsx index e5b6c5d..c1fa213 100644 --- a/src/hoc.tsx +++ b/src/hoc.tsx @@ -4,8 +4,8 @@ import { Omit } from './types' export interface WithTranslateProps extends I18nContextProps {} -function withTranslate
( - BaseComponent: React.ComponentType
+function withTranslate
( + BaseComponent: React.ComponentType
): React.ComponentType {
static displayName = `withTranslate(${BaseComponent.displayName})`
diff --git a/src/types.ts b/src/types.ts
index ce7b829..35ae48d 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -56,4 +56,4 @@ export type TranslatePluralJsxFunc = (
context?: string
) => ReactNode
-export type Omit