Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript types error? #221

Open
QC2168 opened this issue Nov 28, 2023 · 2 comments
Open

typescript types error? #221

QC2168 opened this issue Nov 28, 2023 · 2 comments

Comments

@QC2168
Copy link

QC2168 commented Nov 28, 2023

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"
}
@whylifeisface
Copy link

app.use(anu as any)
it seems work

@SoCuul
Copy link

SoCuul commented Jan 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants