mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Added definition for Handlebars.Utils.escapeExpression()
This commit is contained in:
Vendored
+5
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user