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

x/arktype/utils/generics.ts>asConst

TypeScript's 1:1 validator, optimized from editor to runtime
Latest
type alias asConst
import { type asConst } from "https://deno.land/x/arktype@v1.0.10-alpha/utils/generics.ts";
definition: castWithExclusion<t, asConstRecurse<t>, []>
variable asConst
import { asConst } from "https://deno.land/x/arktype@v1.0.10-alpha/utils/generics.ts";

type

<t>(t: asConstRecurse<t>) => unknown