Type Alias: TemplateSource
TemplateSource =
object
Defined in: src/loader.ts:8
Template source text and meta data.
Properties
name
name:
string
Defined in: src/loader.ts:12
Template name or identifier.
overlay?
optionaloverlay?:Namespace
Defined in: src/loader.ts:22
Additional template global variables.
source
source:
string
Defined in: src/loader.ts:17
Template source code.
upToDate?
optionalupToDate?: () =>Promise<boolean>
Defined in: src/loader.ts:28
A function returning true if the template is up to date, or
false if it needs to be loaded again.
Returns
Promise<boolean>
upToDateSync?
optionalupToDateSync?: () =>boolean
Defined in: src/loader.ts:34
A function returning true if the template is up to date, or
false if it needs to be loaded again.
Returns
boolean