Made session context optional again (#45418)

Partially reverted this PR: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/44983#issuecomment-642209290
This commit is contained in:
Omar Ryhan 2020-06-24 08:23:24 +02:00 committed by GitHub
parent a62880a6ec
commit f84d9d1c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,17 +84,17 @@ declare namespace CookieSessionInterfaces {
/**
* Is true if the session has been changed during the request.
*/
isChanged: boolean;
isChanged?: boolean;
/**
* Is true if the session is new.
*/
isNew: boolean;
isNew?: boolean;
/**
* Determine if the session has been populated with data or is empty.
*/
isPopulated: boolean;
isPopulated?: boolean;
[propertyName: string]: any;
}