chore(typings): remove traceur-runtime.d.ts

fixes #4297

Closes #4415
This commit is contained in:
Alex Eagle
2015-09-29 11:11:06 -07:00
committed by Alex Eagle
parent fb9796130d
commit 9b7378d132
59 changed files with 142 additions and 256 deletions

View File

@ -52,20 +52,14 @@ var _nextRootElementId = 0;
*/
@Injectable()
export class TestComponentBuilder {
_bindingsOverrides: Map<Type, any[]>;
_directiveOverrides: Map<Type, Map<Type, Type>>;
_templateOverrides: Map<Type, string>;
_viewBindingsOverrides: Map<Type, any[]>;
_viewOverrides: Map<Type, ViewMetadata>;
_bindingsOverrides = new Map<Type, any[]>();
_directiveOverrides = new Map<Type, Map<Type, Type>>();
_templateOverrides = new Map<Type, string>();
_viewBindingsOverrides = new Map<Type, any[]>();
_viewOverrides = new Map<Type, ViewMetadata>();
constructor(private _injector: Injector) {
this._bindingsOverrides = new Map();
this._directiveOverrides = new Map();
this._templateOverrides = new Map();
this._viewBindingsOverrides = new Map();
this._viewOverrides = new Map();
}
constructor(private _injector: Injector) {}
_clone(): TestComponentBuilder {
var clone = new TestComponentBuilder(this._injector);
@ -117,7 +111,7 @@ export class TestComponentBuilder {
var clone = this._clone();
var overridesForComponent = clone._directiveOverrides.get(componentType);
if (!isPresent(overridesForComponent)) {
clone._directiveOverrides.set(componentType, new Map());
clone._directiveOverrides.set(componentType, new Map<Type, Type>());
overridesForComponent = clone._directiveOverrides.get(componentType);
}
overridesForComponent.set(from, to);