Add Type Definition for Handlebars.VERSION, Fixes #1647

This commit is contained in:
ismailjones
2020-02-04 16:47:05 -05:00
committed by Nils Knappmeier
parent a32d05f2fc
commit 4de51fe26b
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -88,6 +88,8 @@ declare namespace Handlebars {
// TODO: replace Function with actual signature
export const decorators: { [name: string]: Function };
export const VERSION: string;
export function noConflict(): typeof Handlebars;
export class Exception {
+4
View File
@@ -252,3 +252,7 @@ function testProtoAccessControlControlOptions() {
}
);
}
function testHandlebarsVersion() {
let version: string = Handlebars.VERSION;
}