Skip to content
This repository was archived by the owner on Aug 18, 2022. It is now read-only.

Commit a5e2216

Browse files
author
Norbert Annus
committed
Add missing type definitions
1 parent 5dab9a0 commit a5e2216

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

typings/_custom/ng2.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
declare var zone: any;
22
declare var Zone: any;
33

4+
declare module "angular2/http" {
5+
class Http {
6+
get(url: string): any;
7+
delete(url: string): any;
8+
}
9+
class BaseRequestOptions {}
10+
var Headers: any;
11+
var httpInjectables: any;
12+
}
413

514
declare module "angular2/change_detection" {
615
class Pipe {}
@@ -126,6 +135,7 @@ declare module "angular2/src/router/location" {
126135
declare module "angular2/router" {
127136
class Instruction {}
128137
class Router {
138+
parent: any;
129139
navigate(url: string): Promise<any>;
130140
config(config: any): Promise<any>;
131141
deactivate(): Promise<any>;

0 commit comments

Comments
 (0)