We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3fe40 commit ce698b8Copy full SHA for ce698b8
index.d.ts
@@ -0,0 +1,17 @@
1
+// Typings for NativeScript-Vue
2
+declare module 'nativescript-vue' {
3
+ // import vue.js typings
4
+ import Vue from 'vue';
5
+
6
+ // creat a nativescript vue class that extends vue.js
7
+ class NativeScriptVue extends Vue {
8
+ /**
9
+ * Registers NativeScript Plugin.
10
+ * @param elementName Name of the element to use in your template
11
+ * @param resolver function to register the element
12
+ */
13
+ static registerElement(elementName: string, resolver: Function);
14
+ }
15
16
+ export = NativeScriptVue;
17
+}
0 commit comments