Skip to content

Commit

Permalink
Fix TransProps key to accept array of keys
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodurek committed Mar 20, 2021
1 parent 228c55f commit 34c87ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts4.1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export interface TransProps<
count?: number;
defaults?: string;
i18n?: i18n;
i18nKey?: K;
i18nKey?: K | K[];
ns?: N;
parent?: string | React.ComponentType<any> | null; // used in React.createElement if not null
tOptions?: {};
Expand Down

0 comments on commit 34c87ff

Please sign in to comment.