mirror of https://github.com/vuejs/core.git
11 lines
296 B
TypeScript
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)
|
|
}
|