florian-lefebvre / astro-integration-kit

A package that contains utilities to help you build Astro integrations.
https://astro-integration-kit.netlify.app
MIT License
46 stars 8 forks source link

`addIntegration` shows type error. #85

Closed ktym4a closed 3 months ago

ktym4a commented 3 months ago

This may be due to version/devDep mismatch.

313883775-ade834a4-688f-437f-bbac-8148b5c3b0f0
florian-lefebvre commented 3 months ago

Can you provide a minimal reproduction? I'll check if 0.7.0 fixes it

ktym4a commented 3 months ago

Reproduce it in playground/integration/index.ts on the main branch.

and I checked the feat/build-step branch and it seems to be fixed.

PS. There are other type errors in feat/build-step branch's playground/integration/index.ts now, but that's because the migration hasn't been done yet, right? I hadn't built it when I commented above. and type errors are gone after build.

florian-lefebvre commented 3 months ago

Yeah saw that as well! I'll mark this issue as resolved this PR but feel free to reopen afterwards if it's not fixed