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) > [createInclude](./js-yaml-schema.createinclude.md)
|
|
|
|
|
|
|
|
## createInclude() function
|
|
|
|
|
2021-04-17 23:57:18 +00:00
|
|
|
Instantiate an include type with a copy of the provided options, returning the include type and its schema setter.
|
2020-08-09 01:01:34 +00:00
|
|
|
|
2021-07-10 20:12:59 +00:00
|
|
|
Includes must be resolved synchronously, which greatly limits where this can be used.
|
|
|
|
|
2020-08-09 01:01:34 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2021-07-10 22:38:08 +00:00
|
|
|
export declare function createInclude(options: Readonly<IncludeOptions>): IncludeResult;
|
2020-08-09 01:01:34 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2021-03-28 00:33:56 +00:00
|
|
|
| options | Readonly<[IncludeOptions](./js-yaml-schema.includeoptions.md)<!-- -->> | |
|
2020-08-09 01:01:34 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2021-07-10 22:38:08 +00:00
|
|
|
IncludeResult
|
2020-08-09 01:01:34 +00:00
|
|
|
|