@portis/web3
Version:
Portis Web3 SDK
15 lines • 409 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockify = function (obj) {
return new Proxy(obj, {
get: function (target, prop) {
if (target[prop] instanceof Function) {
return function () { };
}
else {
return undefined;
}
},
});
};
//# sourceMappingURL=mockify.js.map