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:

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: