Using Toast with Nuxt (and the corresponding module) and Typescript, I've got the following code:
this.$toast.success('ok')
This gives me the following message in PHPStorm:
Error:(196, 81) TS2345: Argument of type 'ToastObject' is not assignable to parameter of type '(value: any) => any'.
Type 'ToastObject' provides no match for the signature '(value: any): any'.
Hi!
Using Toast with Nuxt (and the corresponding module) and Typescript, I've got the following code:
This gives me the following message in PHPStorm:
Got any idea?