-import { shallowReadonly } from '@vue/reactivity'
import { getCurrentInstance, SetupContext } from './component'
import { EmitFn, EmitsOptions } from './componentEmits'
import { ComponentObjectPropsOptions, ExtractPropTypes } from './componentProps'
`compiled away and passing it at runtime has no effect.`
)
}
- return __DEV__
- ? shallowReadonly(getCurrentInstance()!.props)
- : getCurrentInstance()!.props
+ return null as any
}
export function defineEmit<
`compiled away and passing it at runtime has no effect.`
)
}
- return getCurrentInstance()!.emit
+ return null as any
}
export function useContext(): SetupContext {