Typescript [vue-3] - Type ToastPluginApi has no call signatures
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] Bug report => search github for a similar issue or PR before submitting
[ ] Feature request
[ ] Other, please describe
Tell about your platform
- Vue.js version : 3.2.33
- Browser name and version : Chrome 101
- This package version : 3.0.2
Current behavior We are getting an odd error with typescript enabled
This expression is not callable.
Type 'ToastPluginApi' has no call signatures.ts(2349)
Expected behavior Um… not that? ¯_(ツ)_/¯
Issue Analytics
- State:
- Created a year ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
How to Fix Type 'Emits' has no call signatures, in vue 3 using ...
The type argument given to defineEmits declares the allowed function signatures for the resulting emit() call. Since you want to be able to ......
Read more >has no call signatures.ts(2349) - You.com | The AI Search ...
The "This expression is not callable. Type 'X' has no call signatures" TypeScript error occurs when we try to call a type that...
Read more >JSX element type does not have any construct or call ... - GitHub
I'm getting this with vue-router, in particular. 0.36 is fine. 0.37 does JSX element type 'RouterView' does not have any construct or call...
Read more >TypeScript with Composition API - Vue.js
The type argument should be a type literal with Call Signatures. The type literal will be used as the type of the returned...
Read more >How to use Vue 3 with TypeScript - LogRocket Blog
Build an example Vue app in TypeScript with class-based ... To store the state, let's create a file called types.ts in the store...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Macavity Version 3.0.4 has been released .
Thanks for the PR 😃
Creating a PR right now 😉