Skip to content

Commit

Permalink
Move platform declarations from the app to the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
angeltsvetkov committed Aug 22, 2017
1 parent 3af2cc2 commit e7b1a79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"dependencies": {
"nativescript-oauth": "../",
"nativescript-theme-core": "~1.0.2",
"tns-core-modules": "~3.0.0",
"tns-platform-declarations": "~3.0.1"
"tns-core-modules": "~3.0.0"
},
"devDependencies": {
"babel-traverse": "6.24.1",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"devDependencies": {
"nativescript-dev-typescript": "^0.4.0",
"tns-core-modules": "~3.0.0",
"typescript": "~2.2.2"
"typescript": "~2.2.2",
"tns-platform-declarations": "~3.0.1"
}
}
4 changes: 2 additions & 2 deletions references.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="demo/node_modules/tns-platform-declarations/ios.d.ts" />
/// <reference path="demo/node_modules/tns-platform-declarations/android.d.ts" />
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />

// <reference path="demo/node_modules/tns-platform-declarations/tns-core-modules/org.nativescript.widgets.d.ts" />
/// <reference path="./index.d.ts" />
Expand Down

0 comments on commit e7b1a79

Please sign in to comment.