fix(typings): repair broken typechecks

We had the typechecker disabled by accident, and many problems snuck in

Fixes #4507

Closes #4508
This commit is contained in:
Alex Eagle
2015-10-05 16:02:21 -07:00
committed by Alex Eagle
parent ae6f549f10
commit 6093e28b61
19 changed files with 99 additions and 76 deletions

View File

@ -64,12 +64,11 @@ function measureWrapper(func, desc) {
class MultiplyViewResolver extends ViewResolver {
_multiplyBy: number;
_cache: Map<Type, ViewMetadata>;
_cache = new Map<Type, ViewMetadata>();
constructor(multiple: number, components: Type[]) {
super();
this._multiplyBy = multiple;
this._cache = new Map();
ListWrapper.forEach(components, (c) => this._fillCache(c));
}