mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
angular2-2.0.0-alpha.39
This commit is contained in:
Vendored
+6
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user