Import
import { makeState } from "@typed/ui/Switch";Signatures
export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
readonly checked: boolean;
}, Schema.SchemaError, never, never>, never, import("effect/Scope").Scope>;Examples
import { Effect } from "effect"
import * as Switch from "@typed/ui/Switch"
const program = Effect.gen(function* () {
return yield* Switch.makeState({ checked: true })
})Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.