@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
11 lines (10 loc) • 442 B
TypeScript
import { IRTerm } from "../../IRTerm.js";
import { IRParentTerm } from "../../utils/isIRParentTerm.js";
import { IRHash } from "../../IRHash.js";
/**
*
* @param parent node to modify the child of
* @param currentChild mainly passed to distinguish in case of `IRApp`
* @param newChild new node's child
*/
export declare function _modifyChildFromTo(parent: IRParentTerm | undefined, currentChild: IRTerm | IRHash, newChild: IRTerm): void;