diff --git a/TransWithoutContext.d.ts b/TransWithoutContext.d.ts index 827c71ea3..bf30d2ae2 100644 --- a/TransWithoutContext.d.ts +++ b/TransWithoutContext.d.ts @@ -1,12 +1,4 @@ -import type { - i18n, - ParseKeys, - Namespace, - TypeOptions, - TOptions, - TFunction, - KeyPrefix, -} from 'i18next'; +import type { i18n, ParseKeys, Namespace, TypeOptions, TOptions, TFunction } from 'i18next'; import * as React from 'react'; type _DefaultNamespace = TypeOptions['defaultNS']; @@ -38,6 +30,6 @@ export function Trans< Key extends ParseKeys, Ns extends Namespace = _DefaultNamespace, TOpt extends TOptions = {}, - KPrefix extends KeyPrefix = undefined, + KPrefix = undefined, E = React.HTMLProps, >(props: TransProps): React.ReactElement;