Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/levo/demo/home/types.ts>Action

Server side rendering with The Elm Architecture in Deno
Latest
type alias Action
import { type Action } from "https://deno.land/x/levo@v0.0.27/demo/home/types.ts";
definition:
| { $: "add"; }
| { $: "minus"; }
| { $: "set_interval_id"; intervalId: number; }
| { $: "stop_interval"; }
| { $: "fetch"; }
| { $: "text_fetched"; text: string; }