0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

fix(underscore-redirects): force type (#12904)

This commit is contained in:
Florian Lefebvre 2025-01-06 11:04:50 +01:00 committed by GitHub
parent 694e4cd835
commit 7fdbd4384d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/underscore-redirects': patch
---
Fixes the type of `force`

View file

@ -9,7 +9,7 @@ export type RedirectDefinition = {
// a priority once inserted.
weight: number;
status: number;
force?: number;
force?: boolean;
};
export class Redirects {