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 = {
4949 bind? : { [key : string ]: any }, // bind props and attrs to modal
5050 on? : { [key : string ]: Function | Function [] } // register events to modal
5151 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
5759 }
5860}
5961` ` `
Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ type dynamicModalOptions = {
4949 bind? : { [key : string ]: any }, // bind props and attrs to modal
5050 on? : { [key : string ]: Function | Function [] } // register events to modal
5151 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
5759 }
5860}
5961` ` `
You can’t perform that action at this time.
0 commit comments