All files / app/i18n index.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14        69x     69x 69x          
import resources from "i18n/resources";
import {
  Trans as nextTrans,
  useTranslation as nextUseTranslation,
} from "next-i18next";
import { TFunction as TFunctionOriginal } from "react-i18next";
 
export const Trans = nextTrans;
export const useTranslation = nextUseTranslation;
export type TFunction = TFunctionOriginal<
  (keyof typeof resources)[],
  undefined
>;