You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a NS-Vue TS enabled project. I've installed the plugin using tns add plugin nativescript-datetimepicker. Now after installation, I go to the main.ts file to declare the plugin like so import DateTimePicker from "nativescript-datetimepicker/vue"; Vue.use(DateTimePicker); However I get swiggly red lines underneath 'DateTimePicker' in Vue.use(DateTimePicker).
I get the following error:
So I changed the file node_modules/nativescript-datetimepicker/vue/index.d.ts from export * from "./index"; to
I have a NS-Vue TS enabled project. I've installed the plugin using
tns add plugin nativescript-datetimepicker
. Now after installation, I go to the main.ts file to declare the plugin like soimport DateTimePicker from "nativescript-datetimepicker/vue"; Vue.use(DateTimePicker);
However I get swiggly red lines underneath 'DateTimePicker' inVue.use(DateTimePicker)
.I get the following error:
![Screen Shot 2020-08-08 at 2 15 36 PM](https://user-images.githubusercontent.com/25876962/89703903-db365100-d981-11ea-96f2-057db3c94d45.png)
So I changed the file node_modules/nativescript-datetimepicker/vue/index.d.ts from
export * from "./index";
toand now the swiggly red lines around
Vue.use(DateTimePicker)
are gone and I can build the project.The text was updated successfully, but these errors were encountered: