Closed tylerc closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/expoio/vector-icons/70czyxdo5
✅ Preview: https://vector-icons-git-fork-tylerc-fix-glyphmap-types.expoio.now.sh
lgtm thanks
we'll release this with sdk 41 beta or possibly a bit sooner (~mid-late march)
Excellent, thank you!
I recently upgraded to Expo SDK v40 (and therefore my version of
@expo/vector-icons
upgraded along with it) and I started getting type errors on a usage ofcreateIconSet
because my glyph map was using strings instead of numbers.Since my icon set still works, and the docs say:
I think this was caused by a simple oversight when the typings were added in.
This pull request changes the type from
number
tonumber | string
.