Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/arktype/utils/chainableNoOpProxy.ts

TypeScript's 1:1 validator, optimized from editor to runtime
Latest
import * as arktype from "https://deno.land/x/arktype@v1.0.10-alpha/utils/chainableNoOpProxy.ts";

Variables

Can be used to allow arbitrarily chained property access and function calls. This is useful for expressions whose meaning is not attached to a value, e.g. to allow the extraction of types using typeof without depending on the existence of a real object that conforms to that type's structure: