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

Argument of type '"publish"' is not assignable to parameter of type '"clientError" | "connectionError"'. #197

Closed
bsommardahl opened this issue May 19, 2018 · 0 comments
Labels

Comments

@bsommardahl
Copy link
Contributor

I'm using TypeScript and I'm getting the following errors when compiling:

Argument of type '"publish"' is not assignable to parameter of type '"clientError" | "connectionError"'.

and

Argument of type '"subscribe"' is not assignable to parameter of type '"clientError" | "connectionError"'.

I checked index.d.ts and sure enough, "publish" and "subscribe" are not defined as options. I'll try to fix this right now and submit a PR.

bsommardahl pushed a commit to bsommardahl/aedes that referenced this issue May 19, 2018
mcollina added a commit that referenced this issue May 22, 2018
Added missing events according to the docs. #197
@gnought gnought closed this as completed Jul 25, 2019
@gnought gnought added the bug label Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants