UNPKG

@dethcrypto/eth-sdk

Version:

🛠 Generate type-safe, lightweight SDK for your Ethereum smart contracts

11 lines • 396 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.constrain = void 0; /** * constrains argument type, without forgetting it * @see https://kentcdodds.com/blog/how-to-write-a-constrained-identity-function-in-typescript * @keywords partial, subset */ const constrain = () => (item) => item; exports.constrain = constrain; //# sourceMappingURL=constrain.js.map