1
0
Fork 0
js-yaml-schema/docs/api/js-yaml-schema.createinclud...

799 B

Home > @apextoaster/js-yaml-schema > createInclude

createInclude() function

Instantiate an include type with a copy of the provided options, returning the include type and its schema setter.

Includes must be resolved synchronously, which greatly limits where this can be used.

Signature:

export declare function createInclude(options: Readonly<IncludeOptions>): IncludeResult;

Parameters

Parameter Type Description
options Readonly<IncludeOptions>

Returns:

IncludeResult