Decompose monolithic readme into docs/ directory structure
This commit is contained in:
14
docs/syntax/options.md
Normal file
14
docs/syntax/options.md
Normal file
@@ -0,0 +1,14 @@
|
||||
[Overview](../overview.md) | [Installation](../installation.md) | [Usage](../usage.md) | [Types](../types/) | [Values](../values/) | **Syntax** | [TypeRegistry](../type-registry.md) | [TypeCheck](../type-check.md)
|
||||
|
||||
# Options
|
||||
|
||||
Options can be passed via the last parameter.
|
||||
|
||||
```typescript
|
||||
const T = Syntax(`number`, { minimum: 42 }); // const T = {
|
||||
// type: 'number',
|
||||
// minimum: 42
|
||||
// }
|
||||
```
|
||||
|
||||
Back to [Home](../../readme.md)
|
||||
Reference in New Issue
Block a user