mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix error about required parameter (#14989)
See the docs: https://helmetjs.github.io/docs/ (maxAge is not a required parameter)
This commit is contained in:
parent
6dc2139daf
commit
7ba5ab6853
2
helmet/index.d.ts
vendored
2
helmet/index.d.ts
vendored
@ -81,7 +81,7 @@ declare namespace helmet {
|
||||
}
|
||||
|
||||
export interface IHelmetHstsConfiguration {
|
||||
maxAge: number;
|
||||
maxAge?: number;
|
||||
includeSubdomains?: boolean;
|
||||
preload?: boolean;
|
||||
setIf?: IHelmetSetIfFunction,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user