@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) • 406 B
TypeScript
import type { PType } from "../../PType/index.js";
import type { TermType } from "../../type_system/types.js";
import type { ToPType } from "../../type_system/ts-pluts-conversion.js";
import { Term } from "../../Term/index.js";
export declare function _punsafeConvertType<FromPInstance extends PType, ToTermType extends TermType>(psome: Term<FromPInstance>, toType: ToTermType): Term<ToPType<ToTermType>>;