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

Commit eb51328

Browse files
committed
chore(TypeScriptApp): add platform declarations
1 parent 1041e14 commit eb51328

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: demo/TypeScriptApp/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"nativescript-dev-sass": "^1.3.5",
3232
"nativescript-dev-typescript": "next",
3333
"nativescript-dev-webpack": "file:../..",
34+
"tns-platform-declarations": "next",
3435
"typescript": "~2.7.2"
3536
},
3637
"scripts": {

Diff for: demo/TypeScriptApp/references.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
2+
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />

0 commit comments

Comments
 (0)