Skip to content

Commit

Permalink
chore(types): add Locale and Style module d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed May 7, 2019
1 parent 60f61e7 commit 94cafdb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion types/cube-ui.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,16 @@ export class BScroll {}
*/
export function createAPI (vue: typeof Vue, Component: CubeUIComponent, events?: string[], single?: boolean) : object

// basic
/** Local Module */
export class Locale {
install (vue: typeof Vue): void
use (lang: string, messages: object): void
}

/** Style Module */
export class Style {}

// basic
/** Button Component */
export class Button extends CubeUIComponent {}
/** Loading Component */
Expand Down

0 comments on commit 94cafdb

Please sign in to comment.