We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc3c17 commit 2b7b84fCopy full SHA for 2b7b84f
src/types/common/translator.ts
@@ -3,7 +3,7 @@ import typia from "typia";
3
4
type TranslationData = typeof enTranslation;
5
type TranslationKey = keyof TranslationData;
6
-type TranslationFunction = (messageName: TranslationKey, substitutions?: string | string[] | undefined) => string;
+type TranslationFunction = (messageName: TranslationKey, substitutions?: string | string[]) => string;
7
8
// eslint-disable-next-line no-magic-numbers
9
type TranslationSubstitutions = Parameters<TranslationFunction>[1];
0 commit comments