defineIntegration.options should be optional
jdtjenkins opened this issue · comments
At the moment you have to pass parameters when using an integration created with defineIntegration
because options
isn't optional.
So we want to be able to do this:
integrations: [
myIntegration(),
],
but at the moment have to do this:
integrations: [
myIntegration({}),
],
I think it's solved by #27 ? I'm using it for satori-astro
and the options type is just never
, showing that you shouldn't pass anything, see https://github.com/florian-lefebvre/satori-astro/blob/main/playground/astro.config.mjs#L7