type alias Optionalimport { type Optional } from "https://deno.land/x/hkts@v0.0.52/optics/optional.ts"; Types Type ParametersSAdefinition: { readonly getOption: (s: S) => Option<A>; readonly set: (a: A) => (s: S) => S; }