Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Jun 15, 2023
1 parent d2c023a commit fc188b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ const T = Type.Object({ // const T = {
z: Type.Boolean() // properties: {
}) // x: { type: 'number' },
// y: { type: 'string' },
// z: { type: 'string' },
// z: { type: 'string' }
// }
// }

Expand Down Expand Up @@ -908,14 +908,14 @@ type C = [...T, number] // type C = [number, number
type F = (...param: C) => void // type F = (
// param0: number,
// param1: number,
// param2: number,
// param2: number
// ) => void

// TypeBox

const T = Type.Tuple([ // const T: TTuple<[
Type.Number(), // TNumber,
Type.Number() // TNumber,
Type.Number() // TNumber
]) // ]>

const C = Type.Tuple([ // const C: TTuple<[
Expand Down

0 comments on commit fc188b2

Please sign in to comment.