Using TypeScript
App-Compose is written in TypeScript. This page shows how to type your code.
For the full list of exported types, see reference/types
Typing a Tag
Section titled “Typing a Tag”A Tag holds a typed value. TypeScript then catches mismatches on both ends — supply and read.
import { tag } from "@grlt-hub/app-compose"
const title = tag<string>("title")