jd-solanki / anu

Anu - DX focused utility based vue component library built on top of UnoCSS & VueUse ⚡️🔥

Home Page:https://anu-vue.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript types error?

QC2168 opened this issue · comments

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"
}

app.use(anu as any)
it seems work

+1 it would be nice not to have to use the any type in this instance