fix(compiler-sfc): add type for props's properties in prod mode (#4790)
fix #4783
This commit is contained in:
@@ -82,7 +82,9 @@ export default /*#__PURE__*/_defineComponent({
|
||||
props: {
|
||||
foo: { default: 1 },
|
||||
bar: { default: () => {} },
|
||||
baz: null
|
||||
baz: null,
|
||||
boola: { type: Boolean },
|
||||
boolb: { type: [Boolean, Number] }
|
||||
},
|
||||
setup(__props: any) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user