@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
8 lines • 326 B
TypeScript
export declare function pipe<ValueType>(previous: ValueType): {
if: (condition: boolean) => {
then: (newValue: ValueType | ((prop: ValueType) => ValueType)) => any;
};
then: (newValue: ValueType | ((prop: ValueType) => ValueType)) => any;
valueOf: () => ValueType;
};
//# sourceMappingURL=pipe.d.ts.map