Skip to content

Commit

Permalink
Skeleton: fix skeleton.d.ts (ElemeFE#21074)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 authored and abigail-0111 committed Dec 21, 2021
1 parent e131ccd commit 765f246
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/skeleton.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ElementUIComponent } from './component'

import { VNode } from 'vue'

interface ElSkeletonSlots {
/* default slot: Real rendering DOM */
default: VNode[];
default: VNode[]

/* template slot: Custom rendering skeleton template */
template: VNode[];
template: VNode[]

[key: string]: VNode[]
}
Expand All @@ -28,6 +28,6 @@ export declare class ElSkeleton extends ElementUIComponent {
/** Rendering delay in millseconds; default: 0 */
throttle: number

$slots: ElSkeletonSlots
$slots: ElSkeletonSlots

}

0 comments on commit 765f246

Please sign in to comment.