Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/arktype/parse/string/reduce/static.ts>state.finalize

TypeScript's 1:1 validator, optimized from editor to runtime
Latest
type alias state.finalize
import { type state } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/string/reduce/static.ts";
const { finalize } = state;
definition: s["groups"] extends [] ? s["branches"]["range"] extends { } ? openRangeError<s["branches"]["range"]> : from<{ root: mergeToUnion<s>; groups: s["groups"]; branches: initialBranches; unscanned: Scanner.finalized; }> : error<unclosedGroupMessage>