Skip to content

Commit

Permalink
fix: update .d.ts and test
Browse files Browse the repository at this point in the history
  • Loading branch information
haocaixia committed Nov 19, 2020
1 parent d4f8561 commit 484a646
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions types/element3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export { ElInfiniteScroll } from './infinite-scroll'
export { ElDrawer } from './drawer'
export { ElTree, TreeData } from './tree'
export {ElPopconfirm} from './popconfirm'
export {ElCascaderPanel} from './cascader-panel'

export interface InstallationOptions {
locale: any
Expand Down
2 changes: 1 addition & 1 deletion types/icon.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ElementUIComponent } from './component'

export const ElIcon: IIcon
/** Icon Component */
export interface IIcon extends ElementUIComponent {
interface IIcon extends ElementUIComponent {
/** Icon name */
name: string
}
4 changes: 2 additions & 2 deletions types/loading.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export interface ElLoadingDirective extends VNodeDirective {
fullscreen: boolean
}
}

export const ElLoading:IlLoading
/** Show animation while loading data */
export interface ElLoading extends ElementUIComponent {
interface IlLoading extends ElementUIComponent {
/** If you do not have a specific DOM node to attach the Loading directive, or if you simply prefer not to use Loading as a directive, you can call this service with some configs to open a Loading instance. */
service(options: LoadingServiceOptions): ElLoadingComponent

Expand Down
2 changes: 1 addition & 1 deletion types/pagination.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ElementUIComponent } from './component'

/** Pagination Component */
export const ElPagination: IPagination
export declare class IPagination extends ElementUIComponent {
interface IPagination extends ElementUIComponent {
/** Whether to use small pagination */
small: boolean

Expand Down

0 comments on commit 484a646

Please sign in to comment.