fix(compiler-sfc): add type for props include Function in prod mode (#4938)
This commit is contained in:
@@ -84,7 +84,8 @@ export default /*#__PURE__*/_defineComponent({
|
||||
bar: { default: () => {} },
|
||||
baz: null,
|
||||
boola: { type: Boolean },
|
||||
boolb: { type: [Boolean, Number] }
|
||||
boolb: { type: [Boolean, Number] },
|
||||
func: { type: Function, default: () => () => {} }
|
||||
},
|
||||
setup(__props: any) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user