File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/macros/tests/__snapshots__ Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -204,22 +204,22 @@ defineComponent((__MACROS_props) => {
204
204
205
205
exports [` fixtures > ./fixtures/define-expose.tsx 1` ] = `
206
206
"
207
- import { getCurrentInstance as __MACROS_getCurrentInstance } from "vue";export function Comp(__MACROS_props) {
208
- ;(__MACROS_getCurrentInstance (true ).exposed = {
207
+ import { getCurrentInstance as __MACROS_getCurrentInstance } from "vue-jsx-vapor ";export function Comp(__MACROS_props) {
208
+ ;(__MACROS_getCurrentInstance ().exposed = {
209
209
foo: 1 ,
210
210
})
211
211
return <div />
212
212
}
213
213
214
214
export const Comp1 = function (props: any) {
215
- ;(__MACROS_getCurrentInstance (true ).exposed = {
215
+ ;(__MACROS_getCurrentInstance ().exposed = {
216
216
foo: props .foo ,
217
217
})
218
218
return <div />
219
219
}
220
220
221
221
export const Comp2 = ({ foo , ... __MACROS_props } : any) => {
222
- ;(__MACROS_getCurrentInstance (true ).exposed = {
222
+ ;(__MACROS_getCurrentInstance ().exposed = {
223
223
foo ,
224
224
})
225
225
return <div />
You can’t perform that action at this time.
0 commit comments