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