From 64a2f82a32b6287a7adb02ce649e875fdf8b66de Mon Sep 17 00:00:00 2001 From: Sergio Date: Thu, 5 Nov 2020 12:24:14 +0100 Subject: [PATCH] fix: t macro as function typed --- packages/macro/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/macro/index.d.ts b/packages/macro/index.d.ts index a1a1ec13a..575aeb2c6 100644 --- a/packages/macro/index.d.ts +++ b/packages/macro/index.d.ts @@ -3,7 +3,7 @@ import type { MessageDescriptor } from "@lingui/core" import type { TransRenderProps } from "@lingui/react" export function t( - literals: TemplateStringsArray, + literals: TemplateStringsArray | MessageDescriptor, ...placeholders: any[] ): string