Skip to content

Commit 41e53b7

Browse files
committed
fix(parseAllHeaders)!: mark minimal as required
All callers already pass in a non-nil `boolean`, so this is only technically breaking.
1 parent 3af49f6 commit 41e53b7

File tree

1 file changed

+3
-3
lines changed
  • packages/headers-parser/src

1 file changed

+3
-3
lines changed

packages/headers-parser/src/all.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ export const parseAllHeaders = async function ({
1313
headersFiles = [],
1414
netlifyConfigPath,
1515
configHeaders = [],
16-
minimal = false,
16+
minimal,
1717
}: {
18-
headersFiles?: undefined | string[]
18+
headersFiles: undefined | string[]
1919
netlifyConfigPath?: undefined | string
2020
configHeaders: undefined | MinimalHeader[]
21-
minimal: undefined | boolean
21+
minimal: boolean
2222
}) {
2323
const [
2424
{ headers: fileHeaders, errors: fileParseErrors },

0 commit comments

Comments
 (0)