typescript types error?
QC2168 opened this issue · comments
_island commented
An error occurred while executing app.use(anu)
Excessive stack depth comparing types '{ install(app: App<any>, options?: PartialObjectDeep<PluginOptions, {}> | undefined): void; }' and 'Plugin<[]>'.ts(2321)
// main.ts
createApp(App).use(anu).use(pinia).mount('#app')
// pkg.json
{
"anu-vue": "^0.15.2"
}
forgetfor commented
app.use(anu as any)
it seems work
SoCuul commented
+1 it would be nice not to have to use the any type in this instance