Skip to content

Commit

Permalink
Merge pull request #1247 from depoulo/patch-1
Browse files Browse the repository at this point in the history
Updated TS definitions
  • Loading branch information
jamuhl authored Feb 9, 2021
2 parents c480581 + 7a739fc commit 6aca0bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export interface TranslationProps {
) => React.ReactNode;
ns?: Namespace;
i18n?: i18n;
useSuspense?: boolean;
}

export function Translation(props: TranslationProps): any;
1 change: 1 addition & 0 deletions src/ts4.1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export interface TranslationProps<N extends Namespace = DefaultNamespace> {
) => React.ReactNode;
ns?: N;
i18n?: i18n;
useSuspense?: boolean;
}

export function Translation<N extends Namespace = DefaultNamespace>(
Expand Down

0 comments on commit 6aca0bc

Please sign in to comment.