UNPKG

@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) 339 B
import { StructDefinition } from "../../type_system/types.js"; import { Term } from "../../Term/index.js"; import { PStruct } from "../../PTypes/PStruct/index.js"; import { PMatchOptions } from "./PMatchOptions.js"; export declare function pmatchStruct<SDef extends StructDefinition>(struct: Term<PStruct<SDef, {}>>): PMatchOptions<SDef>;