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

853 B

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

createIncludeSchema() function

Warning: This API is now obsolete.

use createSchema unless the include type is needed, since it requires a number of callbacks

Extended schema with the include type, and auto-configuration of the include schema.

Signature:

export declare function createIncludeSchema(options: Readonly<IncludeSchemaOptions>): Schema;

Parameters

Parameter Type Description
options Readonly<IncludeSchemaOptions>

Returns:

Schema