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:
parent
694e4cd835
commit
7fdbd4384d
2 changed files with 6 additions and 1 deletions
5
.changeset/shiny-hornets-relate.md
Normal file
5
.changeset/shiny-hornets-relate.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/underscore-redirects': patch
|
||||
---
|
||||
|
||||
Fixes the type of `force`
|
|
@ -9,7 +9,7 @@ export type RedirectDefinition = {
|
|||
// a priority once inserted.
|
||||
weight: number;
|
||||
status: number;
|
||||
force?: number;
|
||||
force?: boolean;
|
||||
};
|
||||
|
||||
export class Redirects {
|
||||
|
|
Loading…
Reference in a new issue