Open
Description
app.use(pinia)
gives me Typescript error.
Code example:
import { createApp, registerElement } from 'nativescript-vue'
import { createPinia } from 'pinia'
const app = createApp(App)
const pinia = 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