package param obj param name param implementation export function override < T extends object , K extends keyof T > ( obj , name , implementation ) { return new Proxy < T > ( obj , { get ( o , property ) { return property === name ? implementation : obj [ property ] ; } , } ) ; }