@@ -39,7 +39,7 @@ const Comp = defineComponent(
39
39
}, ... { Comp: Object }} } ,
40
40
)
41
41
42
- const Comp1 = defineComponent((__MACROS_props ) => { const props = __MACROS_useFullProps ();
42
+ const Comp1 = defineComponent(() => { const props = __MACROS_useFullProps ();
43
43
const foo = __MACROS_useModel (props , ' foo' )
44
44
return () => <div >
45
45
{ [foo .value , props [' bar' ], props [' onUpdate:bar' ]]}
@@ -54,7 +54,7 @@ const Comp1 = defineComponent((__MACROS_props) => {const props = __MACROS_useFul
54
54
' fooModifiers' : null
55
55
} } )
56
56
57
- const Comp2 = defineComponent(async (__MACROS_props ) => {
57
+ const Comp2 = defineComponent(async () => {
58
58
let __temp , __restore
59
59
60
60
;(
@@ -140,7 +140,7 @@ const Comp = defineComponent(
140
140
}, ... { Comp: Object }} } ,
141
141
)
142
142
143
- const Comp1 = defineComponent((__MACROS_props ) => { const props = __MACROS_useFullProps ();
143
+ const Comp1 = defineComponent(() => { const props = __MACROS_useFullProps ();
144
144
const foo = __MACROS_useModel (props , ' foo' )
145
145
return <div >
146
146
{ [foo .value , props [' bar' ], props [' onUpdate:bar' ]]}
@@ -155,7 +155,7 @@ const Comp1 = defineComponent((__MACROS_props) => {const props = __MACROS_useFul
155
155
' fooModifiers' : null
156
156
} } )
157
157
158
- const Comp2 = defineComponent(async (__MACROS_props ) => {
158
+ const Comp2 = defineComponent(async () => {
159
159
let __temp , __restore
160
160
161
161
;(
@@ -204,7 +204,7 @@ defineComponent((__MACROS_props) => {
204
204
205
205
exports [` fixtures > ./fixtures/define-expose.tsx 1` ] = `
206
206
"
207
- import { getCurrentInstance as __MACROS_getCurrentInstance } from "vue-jsx-vapor";export function Comp(__MACROS_props ) {
207
+ import { getCurrentInstance as __MACROS_getCurrentInstance } from "vue-jsx-vapor";export function Comp() {
208
208
;(__MACROS_getCurrentInstance ().exposed = {
209
209
foo: 1 ,
210
210
})
@@ -257,14 +257,14 @@ export default function (__MACROS_props) {
257
257
258
258
exports [` fixtures > ./fixtures/define-slots.tsx 1` ] = `
259
259
"
260
- import { useSlots as __MACROS_useSlots } from "vue";export const Comp = (__MACROS_props ) => {
260
+ import { useSlots as __MACROS_useSlots } from "vue";export const Comp = () => {
261
261
const slots = Object .assign < {
262
262
default : () => any
263
263
}> ({}, __MACROS_useSlots ())
264
264
return <div >{ slots .default ? .()}< / div >
265
265
}
266
266
267
- export default function (__MACROS_props ) {
267
+ export default function () {
268
268
const slots = Object .assign ({
269
269
default : () => <div >default</div >,
270
270
},__MACROS_useSlots ())
@@ -277,13 +277,13 @@ exports[`fixtures > ./fixtures/define-style.tsx 1`] = `
277
277
"import "vue-jsx-vapor/macros/define-style/0?scopeId=4e9d5cd0& scoped=true& lang.css";import style1 from "vue-jsx-vapor/macros/define-style/1?scopeId=13f8dd3a& scoped=true& lang.module.scss";
278
278
import { useSlots as __MACROS_useSlots } from "vue";import "vue-jsx-vapor/macros/define-style/2?scopeId=63a7910c& scoped=false& lang.scss";import { defineComponent , ref } from 'vue'
279
279
280
- export const Comp = (__MACROS_props ) => {
280
+ export const Comp = () => {
281
281
const color = ref (' red' )
282
282
283
283
return <div { ... {style:{' --4e9d5cd0-color-value' : color .value }}} data-v-4e9d5cd0 = " " class = " foo" >foo</div >
284
284
}
285
285
286
- export default defineComponent((__MACROS_props ) => {
286
+ export default defineComponent(() => {
287
287
const color = ref (' red' )
288
288
const styles = style1
289
289
const { default: Default , ... slots } = Object .assign ({}, __MACROS_useSlots ())
0 commit comments