Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
twig
Dynamic module twig
Index
Interfaces
CompileOptions
Parameters
Template
Functions
__express
cache
compile
extendFilter
extendFunction
extendTag
extendTest
renderFile
twig
Functions
__express
(
path
:
string
, options
:
CompileOptions
, fn
:
(err: Error, result: any) => void
)
Parameters
path:
string
options:
CompileOptions
fn:
(err: Error, result: any) => void
cache
(
value
:
boolean
)
Parameters
value:
boolean
compile
(
markup
:
string
, options
:
CompileOptions
)
:
(context: any) => any
Parameters
markup:
string
options:
CompileOptions
Returns
(context: any) => any
extendFilter
(
name
:
string
, definition
:
(left: any, ...params: any[]) => string
)
Parameters
name:
string
definition:
(left: any, ...params: any[]) => string
extendFunction
(
name
:
string
, definition
:
(...params: any[]) => string
)
Parameters
name:
string
definition:
(...params: any[]) => string
extendTag
(
definition
:
any
)
Parameters
definition:
any
extendTest
(
name
:
string
, definition
:
(value: any) => boolean
)
Parameters
name:
string
definition:
(value: any) => boolean
renderFile
(
path
:
string
, options
:
CompileOptions
, fn
:
(err: Error, result: any) => void
)
Parameters
path:
string
options:
CompileOptions
fn:
(err: Error, result: any) => void
twig
(
params
:
Parameters
)
:
Template
Parameters
params:
Parameters
Returns
Template
Globals
twig
CompileOptions
Parameters
Template
__express
cache
compile
extendFilter
extendFunction
extendTag
extendTest
renderFile
twig