Skip to content

Conversation

@JakeQZ
Copy link
Collaborator

@JakeQZ JakeQZ commented Dec 4, 2025

Use a local variable in setSelectors() rather than temporarily assigning the property with a type it's not supposed to have.

Ensure that the property is set to a non-sparse numerical array.

Also tighten the return type of getSelectors().

(Precursor to #1330.)

Use a local variable in `setSelectors()` rather than temporarily assigning the
property with a type it's not supposed to have.

Ensure that the property is set to a non-sparse numerical array.

Also tighten the return type of `getSelectors()`.

(Precursor to #1330.)
@JakeQZ JakeQZ requested a review from oliverklee December 4, 2025 11:50
@JakeQZ JakeQZ self-assigned this Dec 4, 2025
@JakeQZ JakeQZ added cleanup refactor For PRs that refactor code without changing functionality labels Dec 4, 2025
@JakeQZ JakeQZ requested a review from sabberworm December 4, 2025 11:50
@coveralls
Copy link

Coverage Status

coverage: 62.487% (+0.02%) from 62.467%
when pulling f05cbef on cleanup/declaration-block-selectors-type
into a7e229b on main.

Copy link
Collaborator

@oliverklee oliverklee left a comment

Choose a reason for hiding this comment

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

Neat!

@oliverklee oliverklee merged commit 3f57730 into main Dec 4, 2025
23 checks passed
@oliverklee oliverklee deleted the cleanup/declaration-block-selectors-type branch December 4, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup refactor For PRs that refactor code without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants