File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ type dynamicModalOptions = {
49
49
bind? : { [key : string ]: any }, // bind props and attrs to modal
50
50
on? : { [key : string ]: Function | Function [] } // register events to modal
51
51
slots? : {
52
- [key : string ]: { // slot name
53
- component: string | Component | AsyncComponent // slot component
54
- bind? : { [key : string ]: any } // bind props and attrs to slot component
55
- on? : { [key : string ]: Function | Function [] } // register events to slot component
56
- }
52
+ [key : string ]: // slot name
53
+ | {
54
+ component: string | Component | AsyncComponent // slot component
55
+ bind? : { [key : string ]: any } // bind props and attrs to slot component
56
+ on? : { [key : string ]: Function | Function [] } // register events to slot component
57
+ }
58
+ | string
57
59
}
58
60
}
59
61
` ` `
Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ type dynamicModalOptions = {
49
49
bind? : { [key : string ]: any }, // bind props and attrs to modal
50
50
on? : { [key : string ]: Function | Function [] } // register events to modal
51
51
slots? : {
52
- [key : string ]: { // slot name
53
- component: string | Component | AsyncComponent // slot component
54
- bind? : { [key : string ]: any } // bind props and attrs to slot component
55
- on? : { [key : string ]: Function | Function [] } // register events to slot component
56
- }
52
+ [key : string ]: // slot name
53
+ | {
54
+ component: string | Component | AsyncComponent // slot component
55
+ bind? : { [key : string ]: any } // bind props and attrs to slot component
56
+ on? : { [key : string ]: Function | Function [] } // register events to slot component
57
+ }
58
+ | string
57
59
}
58
60
}
59
61
` ` `
You can’t perform that action at this time.
0 commit comments