Skip to content

Commit

Permalink
Documentation (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbadm authored Jun 13, 2023
1 parent 5823bf9 commit d2c023a
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 @@ -483,7 +483,7 @@ The following table lists the Standard TypeBox types. These types are fully comp
│ ]) │ │ ], │
│ const T = Type.Tuple([ │ │ additionalItems: false, │
| ...Type.Rest(A), │ │ minItems: 4, │
| ...Type.Test(B) │ │ maxItems: 4
| ...Type.Rest(B) │ │ maxItems: 4
│ ]) │ │ } │
│ │ │ │
├────────────────────────────────┼─────────────────────────────┼────────────────────────────────┤
Expand Down Expand Up @@ -896,7 +896,7 @@ const C = Type.Index(T, Type.KeyOf(T)) // const C = {
### Rest Types
Rest parameters are supported with `Type.Rest`. This function is used to extract interior type elements from tuples which enables them to compose with the JavaScript spread operator `...`. This type can be used for tuple concatination as well as for variadic functions.
Rest parameters are supported with `Type.Rest`. This function is used to extract interior type elements from tuples which enables them to compose with the JavaScript spread operator `...`. This type can be used for tuple concatenation as well as for variadic functions.
```typescript
// TypeScript
Expand Down Expand Up @@ -1335,7 +1335,7 @@ console.log(C.Code()) // return function check(va
## TypeSystem
The TypeBox TypeSystem module provides functionality to define types above and beyond the Standard and Extended type sets as well as control various assertion polices. Configurations made to the TypeSystem module are observed by both `TypeCompiler` and `Value` modules.
The TypeBox TypeSystem module provides functionality to define types above and beyond the Standard and Extended type sets as well as control various assertion policies. Configurations made to the TypeSystem module are observed by both `TypeCompiler` and `Value` modules.
The TypeSystem module is provided as an optional import.
Expand Down

0 comments on commit d2c023a

Please sign in to comment.