Skip to content

Commit

Permalink
fix: add type for t macro as function (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
semoal authored Nov 5, 2020
1 parent 2d9e124 commit 7f09c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/macro/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit 7f09c2d

@vercel
Copy link

@vercel vercel bot commented on 7f09c2d Nov 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.