vue3-core/packages/runtime-core/src/apiComputed.ts

11 lines
296 B
TypeScript

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