Skip to content

Commit 7cad9f0

Browse files
charles-salmonCharles Salmon
andauthored
types: add type definitions. (#10)
Co-authored-by: Charles Salmon <[email protected]>
1 parent 9d73c43 commit 7cad9f0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
"scripts": {
1212
"test": "echo \"Error: no test specified\" && exit 1"
1313
},
14+
"typings": "types/index.d.ts",
1415
"files": [
15-
"index.js"
16+
"index.js",
17+
"types/index.d.ts"
1618
],
1719
"repository": {
1820
"type": "git",
@@ -35,6 +37,7 @@
3537
"nativescript-toasty": "*",
3638
"nativescript-socketio": "*",
3739
"tns-core-modules": "*",
38-
"@vue/devtools": "*"
40+
"@vue/devtools": "*",
41+
"vue": "*"
3942
}
4043
}

types/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import _Vue from "vue";
2+
3+
export declare function install(Vue: typeof _Vue): void;

0 commit comments

Comments
 (0)