question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typescript [vue-3] - Type ToastPluginApi has no call signatures

See original GitHub issue

I’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)

Screen Shot 2022-05-20 at 10 23 07 AM

Expected behavior Um… not that? ¯_(ツ)_/¯

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ankurk91commented, May 21, 2022

@Macavity Version 3.0.4 has been released .

Thanks for the PR 😃

2reactions
Macavitycommented, May 21, 2022

Creating a PR right now 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found