From f66f38cb4ccf174d0a84d9881c4748f6c8430fca Mon Sep 17 00:00:00 2001 From: sinclair Date: Wed, 27 Nov 2024 02:40:09 +0900 Subject: [PATCH] Documentation --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 6dc0ceb8..0d1f9f0b 100644 --- a/readme.md +++ b/readme.md @@ -1022,7 +1022,7 @@ if(TypeGuard.IsString(T)) { ## Syntax Types -Syntax Types is a feature that enables TypeBox to parse TypeScript type annotations directly into Json Schema. This feature works both at runtime and statically within the type system. Syntax Types use Json Schema as the Abstract Syntax Tree (AST) parse target for TypeScript types. Syntax Types are designed to offer a syntactical frontend to the standard Type Builder API. +Syntax Types is a feature that enables TypeBox to parse TypeScript type annotations directly into Json Schema. This feature works both at runtime and statically within the type system. Syntax Types use Json Schema as the Abstract Syntax Tree (AST) representation for TypeScript types. Syntax Types are designed to offer a syntactical frontend to the standard Type Builder API. This feature is available via optional import. @@ -1333,7 +1333,7 @@ const R = Value.Parse(Type.String(), 'hello') // const R: string = "hello" const E = Value.Parse(Type.String(), undefined) // throws AssertError ``` -You can override the order in which functions are are run, or omit functions entirely in the following way. +You can override the order in which functions are run, or omit functions entirely using the following. ```typescript // Runs no functions.