FFFF docs: document new extended types by marshallswain · Pull Request #3160 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/api/schema/typebox.md
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,45 @@ const T = {
}
```


#### Symbol

Verifies that the value is of type `Symbol`. Requires [Extended Ajv Configuration](#extended-configuration).

```js
const T = Type.Symbol()
```

```js
type T = symbol
```

```js
const T = {
type: 'null',
typeOf: 'Symbol'
}
```

#### BigInt

Verifies that the value is of type `BigInt`. Requires [Extended Ajv Configuration](#extended-configuration).

```js
const T = Type.BigInt()
```

```js
type T = bigint
```

```js
const T = {
type: 'null',
typeOf: 'BigInt'
}
```

#### Void

Verifies that the value is `null`. Requires [Extended Ajv Configuration](#extended-configuration).
Expand Down
0