@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
6 lines (5 loc) • 488 B
TypeScript
import { PType } from "../../../../PType/index.js";
import type { Term } from "../../../../Term/index.js";
import { Methods } from "../../../../type_system/index.js";
import { LiftMethods, FilterMethodsByInput, MethodsAsTerms } from "../../UtilityTerms/userMethods/methodsTypes.js";
export declare function mockUserMethods<PT extends PType, M extends Methods>(term: Term<PT>, methods: M): Term<PT> & LiftMethods<FilterMethodsByInput<M, PT>> & MethodsAsTerms<FilterMethodsByInput<M, PT>>;