-
-
Couldn't load subscription status.
- Fork 648
[MatrixRTC] Improve is livekit checks to check for field availability and first. #5039
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
base: develop
Are you sure you want to change the base?
Conversation
availability and first. Signed-off-by: Timo K <[email protected]>
Signed-off-by: Timo K <[email protected]>
this doesn't seem to make sense? Should this be "Improve
and first? |
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.
This looks like it is doing what it is supposed to do.
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.
Sorry, missed a bit.
| livekit_service_url: string; | ||
| } | ||
|
|
||
| export const isLivekitTransportConfig = (object: any): object is LivekitTransportConfig => |
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.
Ah, this would be better as unknown. That way Typescript is actually type checking.
| /** | ||
| * @deprecated see LivekitFocusSelection | ||
| */ | ||
| export const isLivekitFocusSelection = (object: any): object is LivekitFocusSelection => |
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.
ditto
Otherwise passing undefined throws.
Signed-off-by: Timo K [email protected]
Checklist
public/exportedsymbols have accurate TSDoc documentation.