frenic / csstype

Strict TypeScript and Flow types for style based on MDN data
MIT License
1.7k stars 69 forks source link

Support readonly arrays in fallbacks #168

Closed NotWoods closed 1 year ago

NotWoods commented 1 year ago

Fixes #110

Changes fallback to use readonly array and adds a test.

If you like these PRs a hacktoberfest-accepted label would be appreciated :)

frenic commented 1 year ago

I appreciate all PRs even though I find it hard to take my time to go though them at some periods. But this PR modifies index.d.ts directly so I did a PR based on this where that's fixed. Feel free to review it if you'd like. Thanks for your effort 🙏