defineIntegrations defaults is required when there are no options
florian-lefebvre opened this issue · comments
Florian Lefebvre commented
import { createResolver, defineIntegration } from 'astro-integration-kit';
export default defineIntegration({
name: 'my-integration',
defaults: {} as any as never,
setup() {
const { resolve } = createResolver(import.meta.url);
return {
'astro:config:setup': async ({ addDevToolbarApp }) => {
addDevToolbarApp(resolve('./plugin.ts'));
},
};
},
});
Here we should be able not to specify defaults