import proxy from "./proxy" ; export default function jewell ( value , method ) { let fn = value [ method ] ; Object . defineProperty ( value , method , { get : function ( ) { return proxy ( this , fn ) ; } } as any ) ; }