Skip to content

Commit

Permalink
⚡ improvement(typescript): update TranslateResult type interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Mar 13, 2018
1 parent 9b84186 commit dffc678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ declare namespace VueI18n {
interface LocaleMessageObject { [key: string]: LocaleMessage; }
interface LocaleMessageArray { [index: number]: LocaleMessage; }
interface LocaleMessages { [key: string]: LocaleMessageObject; }
type TranslateResult = string | LocaleMessageArray;
type TranslateResult = string | LocaleMessages;
interface DateTimeFormatOptions {
year?: string;
month?: string;
Expand Down

0 comments on commit dffc678

Please sign in to comment.