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) => {
204204
205205exports [` fixtures > ./fixtures/define-expose.tsx 1` ] = `
206206"
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 = {
209209 foo: 1 ,
210210 })
211211 return <div />
212212}
213213
214214export const Comp1 = function (props: any) {
215- ;(__MACROS_getCurrentInstance (true ).exposed = {
215+ ;(__MACROS_getCurrentInstance ().exposed = {
216216 foo: props .foo ,
217217 })
218218 return <div />
219219}
220220
221221export const Comp2 = ({ foo , ... __MACROS_props } : any) => {
222- ;(__MACROS_getCurrentInstance (true ).exposed = {
222+ ;(__MACROS_getCurrentInstance ().exposed = {
223223 foo ,
224224 })
225225 return <div />
You can’t perform that action at this time.
0 commit comments