Skip to content

Fix type hint of useDevicePixels to allow number input#9826

Merged
felixpalmer merged 1 commit intomasterfrom
kyle/use-device-pixels-type
Oct 16, 2025
Merged

Fix type hint of useDevicePixels to allow number input#9826
felixpalmer merged 1 commit intomasterfrom
kyle/use-device-pixels-type

Conversation

@kylebarron
Copy link
Collaborator

Closes #

Background

The type hint of useDevicePixels currently only allows boolean, but the docs say number is also allowed

image

Change List

@coveralls
Copy link

Coverage Status

coverage: 91.144%. remained the same
when pulling b3fae22 on kyle/use-device-pixels-type
into 5da7942 on master.

@felixpalmer felixpalmer merged commit 72c7749 into master Oct 16, 2025
5 checks passed
@felixpalmer felixpalmer deleted the kyle/use-device-pixels-type branch October 16, 2025 16:29
@chrisgervang chrisgervang added this to the v9.2 patch releases milestone Feb 3, 2026
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.

5 participants