-
Notifications
You must be signed in to change notification settings - Fork 56
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
Wrong type return in useChannel() #1591
Comments
➤ Automation for Jira commented: The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4047 |
Hello @phungvansyhb ! I couldn't manage to reproduce your issue on a bare bone Next.js app while using latest ably package version. It seems like the issue you're describing was fixed in v1.2.48 release, in #1509. Could you please check if you're using the latest |
@VeskeR I am sorry, I start with code base in gitHub. That's ok when I reinstall the latest version. |
@phungvansyhb No worries, glad I could help and it's working now! |
Enviroment : nextjs , vscode
const {channel} = useChannel(TOPIC.GAME_ROOM.CREATE);
return channel has type Types.RealtimeChannelPromise which difference with Ably.Types.RealtimeChannelPromise.
And can't get code suggestion.
The text was updated successfully, but these errors were encountered: