diff --git a/src/ts4.1/index.d.ts b/src/ts4.1/index.d.ts index 112a71049..18433e1f8 100644 --- a/src/ts4.1/index.d.ts +++ b/src/ts4.1/index.d.ts @@ -90,11 +90,11 @@ export type TFuncReturn = N extends (keyof T)[] : string; export interface TFunction { - , TInterpolationMap extends object = StringMap>( + | TemplateStringsArray, TInterpolationMap extends object = StringMap>( key: K, options?: TOptions | string, ): TFuncReturn; - , TInterpolationMap extends object = StringMap>( + | TemplateStringsArray, TInterpolationMap extends object = StringMap>( key: K, defaultValue?: string, options?: TOptions | string,