Skip to content

Commit

Permalink
fix(underscore-redirects): force type (#12904)
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre authored Jan 6, 2025
1 parent 694e4cd commit 7fdbd43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shiny-hornets-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/underscore-redirects': patch
---

Fixes the type of `force`
2 changes: 1 addition & 1 deletion packages/underscore-redirects/src/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type RedirectDefinition = {
// a priority once inserted.
weight: number;
status: number;
force?: number;
force?: boolean;
};

export class Redirects {
Expand Down

0 comments on commit 7fdbd43

Please sign in to comment.