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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
303 B
TypeScript
Raw Normal View History

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