Skip to content

Commit

Permalink
fix: Broken library import & types
Browse files Browse the repository at this point in the history
  • Loading branch information
MattCCC committed Aug 26, 2021
1 parent 351a57d commit 75db55d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { createRouter } from "./vue-router.common";
import { Route } from './typings/router-service';

export { createRouter, Route };
export { Route, RouteOptions, RouterServiceOptions } from "./typings/router-service";
export { createRouter };
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { createRouter } from "./vue-router.common";
export { Route, RouteOptions, RouterServiceOptions } from "./typings/router-service";

export { createRouter };
3 changes: 2 additions & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "nativescript-vue-router-extended",
"version": "1.0.7",
"description": "NativeScript Vue Router Extended for NativeScript Vue hybrid Apps.",
"main": "vue-router",
"main": "index",
"typings": "index.d.ts",
"nativescript": {
"platforms": {
"android": "7.1.0",
Expand Down

0 comments on commit 75db55d

Please sign in to comment.