Skip to content

Commit 34c87ff

Browse files
committedMar 20, 2021
Fix TransProps key to accept array of keys
1 parent 228c55f commit 34c87ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎ts4.1/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export interface TransProps<
132132
count?: number;
133133
defaults?: string;
134134
i18n?: i18n;
135-
i18nKey?: K;
135+
i18nKey?: K | K[];
136136
ns?: N;
137137
parent?: string | React.ComponentType<any> | null; // used in React.createElement if not null
138138
tOptions?: {};

0 commit comments

Comments
 (0)
Please sign in to comment.