fix: add types for ts2dart's façade handling.

... in many, many places.
This commit is contained in:
Martin Probst
2015-06-11 18:50:41 -07:00
parent c4ecbf0a7f
commit f3d741854a
34 changed files with 259 additions and 213 deletions

View File

@ -90,8 +90,8 @@ export class Router {
*/
config(config: any): Promise<any> {
if (config instanceof List) {
config.forEach(
(configObject) => { this._registry.config(this.hostComponent, configObject); });
(<List<any>>config)
.forEach((configObject) => { this._registry.config(this.hostComponent, configObject); });
} else {
this._registry.config(this.hostComponent, config);
}