Import
import { SpinButton } from "@typed/ui/index";Access SpinButton.makeState through the imported SpinButton export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export declare function makeState(initial: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
readonly value: number;
}, Schema.SchemaError, never, never>, never, import("effect/Scope").Scope>;Examples
import { Effect } from "effect"
import * as SpinButton from "@typed/ui/SpinButton"
const program = Effect.gen(function* () {
return yield* SpinButton.makeState({ value: 3 })
})Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.