UNPKG
mission.template
Version:
latest (1.0.1)
1.0.1
1.0.0
0.0.1-alpha.7
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.4
0.0.1-alpha.3
0.0.1-alpha.2
0.0.1-alpha.1
mission template for template engine
bitbucket.org/mission-io/mission.template
mission.template
/
lib
/
interpolator
/
template.d.ts
8 lines
(7 loc)
•
283 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
'handlebars'
;
export
declare
class
Template
{
static
compile
(
template
:
any
,
data
:
any
,
compileOptions
?:
CompileOptions
):
string
;
static
register
(
key
:
string
,
fn
:
Function
|
any
):
void
;
static
unRegister
(
key
:
string
):
void
;
static
registerDefaultApi
():
void
; }