Skip to content

Commit

Permalink
remote ref | typedef metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Jul 23, 2023
1 parent 121041c commit ddeffce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typebox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export type AssertType<T, E extends TSchema = TSchema> = T extends E ? T : TNeve
// --------------------------------------------------------------------------
// Modifiers
// --------------------------------------------------------------------------
export type TModifier = TOptional<TSchema> | TReadonly<TSchema>
export type TReadonly<T extends TSchema> = T & { [Readonly]: 'Readonly' }
export type TOptional<T extends TSchema> = T & { [Optional]: 'Optional' }
// --------------------------------------------------------------------------
Expand Down

0 comments on commit ddeffce

Please sign in to comment.