Import
import { Grid } from "@typed/ui/index";Access Grid.makeCollection through the imported Grid 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 const makeCollection: (initial?: Collection.State<CellPosition, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<CellPosition, Element>, never, never>, never, Scope.Scope>;Examples
import * as Effect from "effect/Effect";
import * as Grid from "@typed/ui/Grid";
const program = Effect.scoped(
Effect.gen(function* () {
const collection = yield* Grid.makeCollection();
return yield* collection;
}),
);Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.