Skip to content

Commit 9ff486a

Browse files
committed
fix: update types
1 parent 00d8f1c commit 9ff486a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
} from './constants'
3535
import { stubComponents } from './stubs'
3636

37-
type Slot = VNode | string | { render: Function } | Function
37+
type Slot = VNode | string | { render: Function } | Function | Component
3838

3939
type SlotDictionary = {
4040
[key: string]: Slot

0 commit comments

Comments
 (0)