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

773 B

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

createInclude() function

Instantiate an includer with closure over the provided options.

Signature:

export declare function createInclude(options: Readonly<IncludeOptions>): {
    includeType: YamlType;
    setSchema: (schema: Schema) => void;
};

Parameters

Parameter Type Description
options Readonly<IncludeOptions>

Returns:

{ includeType: YamlType; setSchema: (schema: Schema) => void; }