Added definition for Handlebars.Utils.escapeExpression()

This commit is contained in:
Igor Rogatty
2014-10-27 17:12:20 +01:00
parent aacb0059e0
commit 890265f436
+5
View File
@@ -27,6 +27,7 @@ interface HandlebarsCommon {
Exception(message: string): void;
SafeString: typeof hbs.SafeString;
Utils: typeof hbs.Utils;
logger: Logger;
log(level: number, obj: any): void;
@@ -51,6 +52,10 @@ declare module hbs {
constructor(str: string);
static toString(): string;
}
class Utils {
static escapeExpression(str: string): string;
}
}
interface Logger {