(model: any, mixins?: ComponentOptions[])
| 64 | } |
| 65 | |
| 66 | function applyModelFromMixins(model: any, mixins?: ComponentOptions[]) { |
| 67 | if (mixins) { |
| 68 | mixins.forEach(m => { |
| 69 | if (m.model) extend(model, m.model) |
| 70 | if (m.mixins) applyModelFromMixins(model, m.mixins) |
| 71 | }) |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | export function compatModelEmit( |
| 76 | instance: ComponentInternalInstance, |
no test coverage detected