astro/.changeset/wet-insects-dance.md
Nate Moore 77c3fda379
Make fetch injection safe to existing code (#2135)
* fix: inject `fetch` only if not declared

* test: improve fetch test

* chore(lint): Prettier fix

* chore: trigger ci

* fix: improve type narrowing

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:08:00 -06:00

5 lines
132 B
Markdown

---
'astro': patch
---
Patch `fetch` support to prioritize authored code. Existing `fetch` imports and declarations are respected.