Add Type Definition for Handlebars.VERSION, Fixes #1647
This commit is contained in:
committed by
Nils Knappmeier
parent
a32d05f2fc
commit
4de51fe26b
Vendored
+2
@@ -88,6 +88,8 @@ declare namespace Handlebars {
|
|||||||
// TODO: replace Function with actual signature
|
// TODO: replace Function with actual signature
|
||||||
export const decorators: { [name: string]: Function };
|
export const decorators: { [name: string]: Function };
|
||||||
|
|
||||||
|
export const VERSION: string;
|
||||||
|
|
||||||
export function noConflict(): typeof Handlebars;
|
export function noConflict(): typeof Handlebars;
|
||||||
|
|
||||||
export class Exception {
|
export class Exception {
|
||||||
|
|||||||
@@ -252,3 +252,7 @@ function testProtoAccessControlControlOptions() {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function testHandlebarsVersion() {
|
||||||
|
let version: string = Handlebars.VERSION;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user