Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork245
Open
Description
app.use(pinia)
gives me Typescript error.
Code example:
import{createApp,registerElement}from'nativescript-vue'import{createPinia}from'pinia'constapp=createApp(App)constpinia=createPinia()app.use(pinia)
Error:
├╴ Argument of type 'Pinia' is not assignable to parameter of type 'Plugin<[]>'. │ Type 'Pinia' is not assignable to type 'FunctionPlugin<[]>'. │ Type 'Pinia' is not assignable to type '(app: App<any>) => any'. │ Type 'Pinia' provides no match for the signature '(app: App<any>): any'. typescript (2345) [142, 9]
Metadata
Metadata
Assignees
Labels
No labels