Merge pull request #2630 from n2westman/patch-2

Update underscore.d.ts
This commit is contained in:
Masahiro Wakame
2014-08-06 10:28:41 +09: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.