Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix width and height TypeScript types #26

Merged
merged 2 commits into from
Jul 3, 2020

Conversation

splars
Copy link
Contributor

@splars splars commented Jul 2, 2020

Options width and height are typed as number but can be implemented as strings as well (and recommended as such so percentages can be used)

@sindresorhus sindresorhus changed the title Updates width and height types Fix width and height TypeScript types Jul 3, 2020
@sindresorhus sindresorhus merged commit 426ce19 into sindresorhus:master Jul 3, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants