angular2-2.0.0-alpha.39

This commit is contained in:
Tobias Bosch
2015-10-06 13:05:18 -07:00
parent 70b40db9e0
commit c321c3c902
8 changed files with 20225 additions and 73 deletions
+6 -6
View File
@@ -1,4 +1,4 @@
// Type definitions for Angular v2.0.0-local_sha.f77234e
// Type definitions for Angular v2.0.0-39
// Project: http://angular.io/
// Definitions by: angular team <https://github.com/angular/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -299,9 +299,9 @@ declare module ngRouter {
*/
class RouteParams {
constructor(params: StringMap<string, string>);
constructor(params: {[key: string]: string});
params: StringMap<string, string>;
params: {[key: string]: string};
get(param: string): string;
@@ -884,13 +884,13 @@ declare module ngRouter {
*/
class Instruction {
constructor(component: ComponentInstruction, child: Instruction, auxInstruction: StringMap<string, Instruction>);
constructor(component: ComponentInstruction, child: Instruction, auxInstruction: {[key: string]: Instruction});
component: ComponentInstruction;
child: Instruction;
auxInstruction: StringMap<string, Instruction>;
auxInstruction: {[key: string]: Instruction};
/**
* Returns a new instruction that shares the state of the existing instruction, but with
@@ -922,7 +922,7 @@ declare module ngRouter {
urlParams: string[];
params: StringMap<string, any>;
params: {[key: string]: any};
/**
* Returns the component type of the represented route, or `null` if this instruction