mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
731e99df87
A PR merged back in April changed the type of Params, allowing numbers to be provided in addition to strings. See https://github.com/withastro/astro/pull/3087. However, as said PR changed the type of Params instead of GetStaticPathsItem, it also affects Astro.params. This commit moves the change to GetStaticPathsItem, reverting the type of Astro.params.
81 B
81 B
astro |
---|
patch |
Narrow type of Params
, as its values cannot be numbers