Index: ui/webui/resources/js/i18n_behavior.js |
diff --git a/ui/webui/resources/js/i18n_behavior.js b/ui/webui/resources/js/i18n_behavior.js |
index 56428c9b7e3ec3024506ff9424134f0bf82bee34..b5663cf98a42c5354f30e9da83d7ab6d96d22911 100644 |
--- a/ui/webui/resources/js/i18n_behavior.js |
+++ b/ui/webui/resources/js/i18n_behavior.js |
@@ -67,3 +67,16 @@ var I18nBehavior = { |
return loadTimeData.valueExists(id); |
}, |
}; |
+ |
+/** |
+ * TODO(stevenjb): Replace with an interface. b/24294625 |
+ * @typedef {{ |
+ * i18n: function(string, ...string): string}}, |
+ * i18nAdvanced: function({ |
+ * substitutions: (Array<string>|undefined), |
+ * attrs: (Object<function(Node, string):boolean>|undefined), |
+ * tags: (Array<string>|undefined)}, opts), |
+ * i18nExists: function(string) |
+ * }} |
+ */ |
+I18nBehavior.Proto; |