diff --git a/.changeset/shiny-hornets-relate.md b/.changeset/shiny-hornets-relate.md new file mode 100644 index 0000000000..a310f37e8c --- /dev/null +++ b/.changeset/shiny-hornets-relate.md @@ -0,0 +1,5 @@ +--- +'@astrojs/underscore-redirects': patch +--- + +Fixes the type of `force` diff --git a/packages/underscore-redirects/src/redirects.ts b/packages/underscore-redirects/src/redirects.ts index 11ed9085e6..38a70c448c 100644 --- a/packages/underscore-redirects/src/redirects.ts +++ b/packages/underscore-redirects/src/redirects.ts @@ -9,7 +9,7 @@ export type RedirectDefinition = { // a priority once inserted. weight: number; status: number; - force?: number; + force?: boolean; }; export class Redirects {