This commit is contained in:
Paulo Cesar
2014-08-05 22:41:34 -03:00
+3 -2
View File
@@ -1472,8 +1472,9 @@ interface UnderscoreStatic {
* @param settings Settings to use while compiling.
* @return Returns the compiled Underscore HTML template.
**/
template(templateString: string, data?: any, settings?: _.TemplateSettings): (...data: any[]) => string;
template(templateString: string): (...data: any[]) => string;
template(templateString: string, data: any, settings?: _.TemplateSettings): string;
/**
* By default, Underscore uses ERB-style template delimiters, change the
* following template settings to use alternative delimiters.