import COMPUTED_KEY from './COMPUTED_KEY' ; export default function computed < T > ( value ) ; export default function computed ( target , key , descriptor ) ; export default function computed ( target , key ? , descriptor ? ) { if ( ! key ) { return { [ COMPUTED_KEY ] : 'reactive' , value : target , } ; } target [ COMPUTED_KEY ] = { ... target [ COMPUTED_KEY ] } ; target [ COMPUTED_KEY ] [ key ] = descriptor ; }