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 added this mainly because without it I'm getting errors in Vue-Routers typings. I figured it was fine going forward since typically with a lot of NativeScript projects we add tns-platform-declaration which add the very large api surface area you spoke of and slow down compilation.
this is the error i was getting with vue-router
node_modules/vue-router/types/router.d.ts(4,35): error TS2304: Cannot find name 'Vue'.
node_modules/vue-router/types/router.d.ts(13,43): error TS2304: Cannot find name 'Vue'.
node_modules/vue-router/types/router.d.ts(19,8): error TS2304: Cannot find name 'Vue'.
node_modules/vue-router/types/router.d.ts(93,25): error TS2304: Cannot find name 'Vue'.
node_modules/vue-router/types/vue.d.ts(17,13): error TS2428: All declarations of 'ComponentOptions' must have identical type parameters.
node_modules/vue-router/types/vue.d.ts(17,40): error TS2304: Cannot find name 'Vue'.
node_modules/vue/types/options.d.ts(53,18): error TS2428: All declarations of 'ComponentOptions' must have identical type parameters.
I had read about an error with versions typings. I thought about upgrading to the latest version 3+, which I believe will fix this, but I'm not sure about it's compatibility with NativeScript-Vue.
https://github.com/TheOriginalJosh/nativescript-vue-typescript-seed/blob/be8c82455718760be8695b9b40f7d9b1e020793a/tsconfig.json#L8
I've heard it's used for NativeScript with Angular because the API surface area is so large; is that the intent here too?
The text was updated successfully, but these errors were encountered: