createHandlebarSchemaMap
function createHandlebarSchemaMap<Map>(map, options): object;Defined in: map.ts:16
Type Parameters
Section titled “Type Parameters”Map extends Record<string, HandlebarSchemaMapOptions>
Parameters
Section titled “Parameters”Map
options
Section titled “options”templateDirectory
Section titled “templateDirectory”string
Returns
Section titled “Returns”object
map: Map;audit()
Section titled “audit()”audit(): Promise<boolean>;Returns
Section titled “Returns”Promise<boolean>
compile()
Section titled “compile()”compile<Key>(template, data): Promise<string>;Type Parameters
Section titled “Type Parameters”Key extends string
Parameters
Section titled “Parameters”template
Section titled “template”Key
InferInput<Map[Key]["schema"]>
Returns
Section titled “Returns”Promise<string>