2020-08-09 01:01:34 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-yaml-schema](./js-yaml-schema.md) > [createSchema](./js-yaml-schema.createschema.md)
|
|
|
|
|
|
|
|
## createSchema() function
|
|
|
|
|
|
|
|
Safe schema with additional library types added.
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2021-04-17 23:56:33 +00:00
|
|
|
export declare function createSchema(options: Readonly<SchemaOptions>): Schema;
|
2020-08-09 01:01:34 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2021-03-28 00:33:56 +00:00
|
|
|
| options | Readonly<[SchemaOptions](./js-yaml-schema.schemaoptions.md)<!-- -->> | |
|
2020-08-09 01:01:34 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2021-04-17 23:56:33 +00:00
|
|
|
Schema
|
2020-08-09 01:01:34 +00:00
|
|
|
|