Skip to content

Commit a0e9e63

Browse files
committed
fix(types): stub should not accept false value
1 parent 1ab7d70 commit a0e9e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Slots = {
2222
* If it is an array of string, the specified children are replaced by blank components
2323
*/
2424
type Stubs = {
25-
[key: string]: Component | string | boolean
25+
[key: string]: Component | string | true
2626
} | string[]
2727

2828
/**

0 commit comments

Comments
 (0)