Skip to content

Commit

Permalink
fix: allow number properties in plurals macro (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Lourenço authored Oct 20, 2020
1 parent 379a3e3 commit a61c57a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/macro/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function t(
): string

export type ChoiceOptions<T = string> = {
[digit: number]: T,
offset?: number
zero?: T
one?: T
Expand Down

0 comments on commit a61c57a

Please sign in to comment.