apiComputed.ts 294 B

1234567
  1. import { computed as _computed } from '@vue/reactivity'
  2. import { isInSSRComponentSetup } from './component'
  3. export const computed = ((getterOrOptions: any, debugOptions?: any) => {
  4. // @ts-ignore
  5. return _computed(getterOrOptions, debugOptions, isInSSRComponentSetup)
  6. }) as typeof _computed