type alias TrellisContractLike

Minimal contract shape required to create a typed Trellis Svelte app context.

Type Parameters

TA extends TrellisAPI = TrellisAPI

Properties

CONTRACT: TrellisContractV1
API: { trellis?: TA; }

Usage

import { type TrellisContractLike } from "trellis-svelte/src/index.ts";