Skip to content

⬅️ Back to Table of Contents

📄 vue.ts

📊 Analysis Summary

Metric Count
🔧 Functions 1
📦 Imports 1

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/utils/vue.ts

📦 Imports

Name Source
getCurrentInstance vue

Functions

getLifeCycleTarget(target: any): any

Code
export function getLifeCycleTarget(target?: any) {
  return target || getCurrentInstance()
}
  • Parameters:
  • target: any
  • Return Type: any
  • Calls:
  • getCurrentInstance (from vue)