Skip to content

Commit 0335489

Browse files
committed
Add typings for router exports.
Use `nativescript-angular/router` as the recommended entrypoint
1 parent e069707 commit 0335489

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import {Type} from 'angular2/core';
2+
3+
export var NS_ROUTER_PROVIDERS: any[];
4+
export var NS_ROUTER_DIRECTIVES: Type[];
5+
export var routerTraceCategory: string;

src/nativescript-angular/router.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export {
2+
NS_ROUTER_PROVIDERS,
3+
NS_ROUTER_DIRECTIVES,
4+
routerTraceCategory
5+
} from "./router/ns-router";

0 commit comments

Comments
 (0)