Skip to content

Commit

Permalink
fix: incorrect type for experimental option (#10987)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored May 9, 2024
1 parent 3e16858 commit 05db5f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-otters-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Fix a regression where the flag `experimental.rewriting` was marked mandatory. Is is now optional.
2 changes: 1 addition & 1 deletion packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ export interface AstroUserConfig {
*
* For a complete overview, and to give feedback on this experimental API, see the [Rerouting RFC](https://github.com/withastro/roadmap/blob/feat/reroute/proposals/0047-rerouting.md).
*/
rewriting: boolean;
rewriting?: boolean;
};
}

Expand Down

0 comments on commit 05db5f7

Please sign in to comment.