Import
import { makeState } from "@typed/ui/Tooltip";Signatures
export declare function makeState(initial: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{
readonly id: string;
readonly open: boolean;
}, Schema.SchemaError, never, never>, never, Scope.Scope>;Why
Visibility logic can be tested without mounting an anchor or popover.
Ownership and lifetime
The calling Effect Scope owns the returned RefSubject.
Examples
import { Effect } from "effect"
import * as Tooltip from "@typed/ui/Tooltip"
const program = Effect.gen(function* () {
return yield* Tooltip.makeState({ id: "save-help" })
})Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.