Skip to content

types(geometry): Segment.getSegment code never returns null#3432

Merged
Geliogabalus merged 1 commit into
clientIO:masterfrom
zbynekstara:getSegment-type-fix
Jul 22, 2026
Merged

types(geometry): Segment.getSegment code never returns null#3432
Geliogabalus merged 1 commit into
clientIO:masterfrom
zbynekstara:getSegment-type-fix

Conversation

@zbynekstara

Copy link
Copy Markdown
Contributor

Description

Corrects the return type of Segment.getSegment() - its source code never returns null.

Motivation and Context

This is relevant for strict TS consumers and prevents unnecessary non-null assertions.

@zbynekstara
zbynekstara requested a review from Copilot July 22, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Geliogabalus
Geliogabalus merged commit 8fb2c17 into clientIO:master Jul 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants