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-09 21:41:02 -08:00
committed by Mohamed Hegazy
parent 6dc2139daf
commit 7ba5ab6853
+1 -1
View File
@@ -81,7 +81,7 @@ declare namespace helmet {
}
export interface IHelmetHstsConfiguration {
maxAge: number;
maxAge?: number;
includeSubdomains?: boolean;
preload?: boolean;
setIf?: IHelmetSetIfFunction,