UNPKG

@harmoniclabs/plu-ts-onchain

Version:

An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript

4 lines (3 loc) 238 B
import { Term } from "../Term/index.js"; import { TermType, ToPType } from "../type_system/index.js"; export declare function perror<T extends TermType>(type: T, msg?: string | undefined, addInfos?: object | undefined): Term<ToPType<T>>;