chore(build): Upgrade to TypeScript@1.5.3

This change also makes us compliant with 1.6.0-dev compiler,
so we can do some experiments with apps that use 1.6 features
and compile against Angular.

We should probably add a travis build for 1.6 so we stay compatible
with both versions.
This commit is contained in:
Alex Eagle
2015-07-29 20:09:54 -07:00
parent c5cb7009ca
commit 3c58878b19
28 changed files with 140 additions and 145 deletions

View File

@ -22,10 +22,15 @@ export class Route implements RouteDefinition {
path: string;
component: Type;
as: string;
// added next two properties to work around https://github.com/Microsoft/TypeScript/issues/4107
loader: Function;
redirectTo: string;
constructor({path, component, as}: {path: string, component: Type, as?: string}) {
this.path = path;
this.component = component;
this.as = as;
this.loader = null;
this.redirectTo = null;
}
}