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:
iislucas 2017-03-10 00:41:02 -05:00 committed by Mohamed Hegazy
parent 6dc2139daf
commit 7ba5ab6853

2
helmet/index.d.ts vendored
View File

@ -81,7 +81,7 @@ declare namespace helmet {
}
export interface IHelmetHstsConfiguration {
maxAge: number;
maxAge?: number;
includeSubdomains?: boolean;
preload?: boolean;
setIf?: IHelmetSetIfFunction,