Closed iainsimmons closed 2 years ago
This pull request fixes the type shown in the docs for the siteUrl config option.
siteUrl
This was happening because the siteUrl config option seemed to have the type from the jsx option.
jsx
By changing type to string and removing the default, it matches the actual type: https://github.com/ElMassimo/iles/blob/main/packages/iles/types/shared.d.ts#L201
string
Thanks Iain!
You're very welcome @ElMassimo ! This is a great project/framework/library and I'm keen to give it a try.
Description 📖
This pull request fixes the type shown in the docs for the
siteUrl
config option.Background 📜
This was happening because the
siteUrl
config option seemed to have the type from thejsx
option.The Fix 🔨
By changing type to
string
and removing the default, it matches the actual type: https://github.com/ElMassimo/iles/blob/main/packages/iles/types/shared.d.ts#L201