Closed cstrnt closed 1 year ago
We have a setup where we defined our custom events. Some of them don't have props and are like this
type Events = { // ... some events test: never; }
When I know call plausible("test") I get the following error:
plausible("test")
Argument of type '[]' is not assignable to parameter of type 'undefined'
Published as next-plausible@3.10.2.
next-plausible@3.10.2
Thanks a lot @cstrnt!
We have a setup where we defined our custom events. Some of them don't have props and are like this
When I know call
plausible("test")
I get the following error:Argument of type '[]' is not assignable to parameter of type 'undefined'