From a71a912ada937fc8dc8e499f7ba3b01a59a2c960 Mon Sep 17 00:00:00 2001 From: David Reher Date: Fri, 15 Jan 2016 22:38:55 +0100 Subject: [PATCH 1/2] added missing properties to Instruction interface in angular-component-router --- angularjs/angular-component-router.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/angularjs/angular-component-router.d.ts b/angularjs/angular-component-router.d.ts index da93596ca0..3b6e2b7262 100644 --- a/angularjs/angular-component-router.d.ts +++ b/angularjs/angular-component-router.d.ts @@ -36,6 +36,9 @@ declare module angular { * ``` */ interface Instruction { + component: ComponentInstruction; + child: Instruction; + auxInstruction: {[key: string]: Instruction} = {}; urlPath(): string; From 046e0e85d04f75a692bca781281578c9fd8cd418 Mon Sep 17 00:00:00 2001 From: David Reher Date: Fri, 15 Jan 2016 22:52:08 +0100 Subject: [PATCH 2/2] accidently copied the default value :/ --- angularjs/angular-component-router.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular-component-router.d.ts b/angularjs/angular-component-router.d.ts index 3b6e2b7262..228db1e017 100644 --- a/angularjs/angular-component-router.d.ts +++ b/angularjs/angular-component-router.d.ts @@ -38,7 +38,7 @@ declare module angular { interface Instruction { component: ComponentInstruction; child: Instruction; - auxInstruction: {[key: string]: Instruction} = {}; + auxInstruction: {[key: string]: Instruction}; urlPath(): string;