MCPcopy
hub / github.com/handlebars-lang/handlebars.js / RuntimeOptions

Interface RuntimeOptions

types/index.d.ts:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 export type Template<T = any> = TemplateDelegate<T>|string;
23
24 export interface RuntimeOptions {
25 partial?: boolean;
26 depths?: any[];
27 helpers?: { [name: string]: Function };
28 partials?: { [name: string]: Template };
29 decorators?: { [name: string]: Function };
30 data?: any;
31 blockParams?: any[];
32 allowCallsToHelperMissing?: boolean;
33 allowedProtoProperties?: { [name: string]: boolean };
34 allowedProtoMethods?: { [name: string]: boolean };
35 allowProtoPropertiesByDefault?: boolean;
36 allowProtoMethodsByDefault?: boolean;
37 }
38
39 export interface HelperOptions {
40 fn: TemplateDelegate;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected