From 582621f066c88818cc9ca3577d61ad2884414051 Mon Sep 17 00:00:00 2001 From: sinclair Date: Wed, 15 Nov 2023 14:13:49 +0900 Subject: [PATCH] Comment updates on Static types --- src/typebox.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/typebox.ts b/src/typebox.ts index c6d45c402..4a7f3249f 100644 --- a/src/typebox.ts +++ b/src/typebox.ts @@ -992,11 +992,11 @@ export interface TVoid extends TSchema { // -------------------------------------------------------------------------- // Static // -------------------------------------------------------------------------- -/** Creates the decoded static form for a TypeBox type */ +/** Creates an decoded static type from a TypeBox type */ export type StaticDecode = Static, P> -/** Creates the encoded static form for a TypeBox type */ +/** Creates an encoded static type from a TypeBox type */ export type StaticEncode = Static -/** Creates the static type for a TypeBox type */ +/** Creates a static type from a TypeBox type */ export type Static = (T & { params: P })['static'] // -------------------------------------------------------------------------- // TypeRegistry