fix(runtime-core/emits): merge emits options from mixins/extends

fix #1562
This commit is contained in:
Evan You
2020-07-13 11:55:46 -04:00
parent c2d3da9dc4
commit ba3b3cdda9
4 changed files with 87 additions and 32 deletions

View File

@@ -59,6 +59,10 @@ export interface ComponentInternalOptions {
* @internal
*/
__props?: NormalizedPropsOptions | []
/**
* @internal
*/
__emits?: ObjectEmitsOptions
/**
* @internal
*/