-
Notifications
You must be signed in to change notification settings - Fork 73
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
Port Bridge to Typescript #213
Conversation
Waiting for you to fix the tests. |
onInvite(ev) { | ||
if (!this._waitingForInvite.has(ev.room_id)) { | ||
// eslint-disable-next-line camelcase | ||
public async onInvite(ev: {room_id: string}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this returning a boolean and what's the information this boolean carries?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have improved the JSDoc for the whole class.
672f091
to
fd335d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks to be ok.
I found it especially though to compare bridge.js and bridge.ts.
Depends on the remaining TS PRs, so #209 and #210.
This PR ports the last file to Typescript and thus completes the Typescript project. After this, we can safely merge #199