Skip to content

Commit

Permalink
Comment updates on Static types
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Nov 15, 2023
1 parent 6f5025b commit 582621f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/typebox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -992,11 +992,11 @@ export interface TVoid extends TSchema {
// --------------------------------------------------------------------------
// Static<T>
// --------------------------------------------------------------------------
/** Creates the decoded static form for a TypeBox type */
/** Creates an decoded static type from a TypeBox type */
export type StaticDecode<T extends TSchema, P extends unknown[] = []> = Static<DecodeType<T>, P>
/** Creates the encoded static form for a TypeBox type */
/** Creates an encoded static type from a TypeBox type */
export type StaticEncode<T extends TSchema, P extends unknown[] = []> = Static<T, P>
/** Creates the static type for a TypeBox type */
/** Creates a static type from a TypeBox type */
export type Static<T extends TSchema, P extends unknown[] = []> = (T & { params: P })['static']
// --------------------------------------------------------------------------
// TypeRegistry
Expand Down

0 comments on commit 582621f

Please sign in to comment.