Skip to content

Conversation

@toger5
Copy link
Contributor

@toger5 toger5 commented Oct 10, 2025

Otherwise passing undefined throws.

Signed-off-by: Timo K [email protected]

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

availability and first.

Signed-off-by: Timo K <[email protected]>
Signed-off-by: Timo K <[email protected]>
@toger5 toger5 marked this pull request as ready for review October 10, 2025 09:01
@toger5 toger5 requested a review from a team as a code owner October 10, 2025 09:01
@toger5 toger5 requested a review from AndrewFerr October 10, 2025 09:01
@Half-Shot Half-Shot self-requested a review October 27, 2025 13:12
@richvdh
Copy link
Member

richvdh commented Oct 27, 2025

Improve is livekit checks

this doesn't seem to make sense? Should this be "Improve isLivekit checks" or similar?

and first.

and first?

Copy link
Contributor

@Half-Shot Half-Shot left a 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.

Copy link
Contributor

@Half-Shot Half-Shot left a 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 =>
Copy link
Contributor

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 =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants