Skip to content

Expand entryPoint check to cover nulls#28

Merged
kriszyp merged 1 commit intomainfrom
entryPoint-nullish
Nov 7, 2025
Merged

Expand entryPoint check to cover nulls#28
kriszyp merged 1 commit intomainfrom
entryPoint-nullish

Conversation

@kriszyp
Copy link
Member

@kriszyp kriszyp commented Nov 5, 2025

No description provided.

@kriszyp kriszyp requested a review from a team November 5, 2025 05:12
}
function updateNode(id: number, node?: Node) {
// keep a record of all our changes, maintaining any changes that are queued to be written
let updatedNode: Node = updatedNodes.get(id)!;
Copy link
Member Author

Choose a reason for hiding this comment

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

Does our linter rules do this? (I did not make this change)

Copy link
Contributor

Choose a reason for hiding this comment

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

Dunno, but we probably don't need it as the Map has a sensible type for the value.

@kriszyp kriszyp changed the title Entry point nullish Expand entryPoint check to cover nulls Nov 5, 2025
@kriszyp kriszyp merged commit 8355f56 into main Nov 7, 2025
6 of 7 checks passed
@kriszyp kriszyp deleted the entryPoint-nullish branch November 7, 2025 16:49
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