Skip to content

Commit

Permalink
fix: export interface
Browse files Browse the repository at this point in the history
  • Loading branch information
monkindey committed Jun 5, 2019
1 parent 6570f31 commit f61355e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/validator/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import locales from './locale'

const self: any = this || global || window

interface ILocaleMessages {
export interface ILocaleMessages {
[key: string]: string | ILocaleMessages
}

interface ILocales {
export interface ILocales {
[lang: string]: ILocaleMessages
}

Expand Down

2 comments on commit f61355e

@monkindey
Copy link
Owner Author

Choose a reason for hiding this comment

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

@monkindey
Copy link
Owner Author

Choose a reason for hiding this comment

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

不然 package/react 包里面下面这段代码出现问题

export const setValidationLocale = setLocale

Please sign in to comment.