fix(types/tsx): optional props from Mixin/Extends are treated as required (#2048)
This commit is contained in:
@@ -41,7 +41,7 @@ export {
|
||||
} from './apiLifecycle'
|
||||
export { provide, inject } from './apiInject'
|
||||
export { nextTick } from './scheduler'
|
||||
export { defineComponent, DefineComponent } from './apiDefineComponent'
|
||||
export { defineComponent } from './apiDefineComponent'
|
||||
export { defineAsyncComponent } from './apiAsyncComponent'
|
||||
|
||||
// Advanced API ----------------------------------------------------------------
|
||||
@@ -166,6 +166,7 @@ export {
|
||||
ComponentCustomProps,
|
||||
AllowedComponentProps
|
||||
} from './component'
|
||||
export { DefineComponent } from './apiDefineComponent'
|
||||
export {
|
||||
ComponentOptions,
|
||||
ComponentOptionsMixin,
|
||||
@@ -198,7 +199,8 @@ export {
|
||||
PropType,
|
||||
ComponentPropsOptions,
|
||||
ComponentObjectPropsOptions,
|
||||
ExtractPropTypes
|
||||
ExtractPropTypes,
|
||||
ExtractDefaultPropTypes
|
||||
} from './componentProps'
|
||||
export {
|
||||
Directive,
|
||||
|
||||
Reference in New Issue
Block a user