Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox/src/typebox.ts>TypeBuilder#ReadonlyOptional

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
method TypeBuilder.prototype.ReadonlyOptional
import { TypeBuilder } from "https://deno.land/x/typebox@0.25.12/src/typebox.ts";

Creates a readonly optional property

Type Parameters

T extends TSchema

Returns

TReadonlyOptional<T>