Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

fix(types): SessionData was removed from Express type #247

Merged
merged 1 commit into from
Nov 24, 2020
Merged

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Nov 24, 2020

This should fix the nightly synth failures, as well as #246

Fixes #246

@bcoe bcoe requested a review from a team as a code owner November 24, 2020 16:48
@product-auto-label product-auto-label bot added the api: datastore Issues related to the googleapis/nodejs-datastore-session API. label Nov 24, 2020
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 24, 2020
@codecov
Copy link

codecov bot commented Nov 24, 2020

Codecov Report

Merging #247 (3baf7f2) into master (7f0a561) will decrease coverage by 0.20%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
- Coverage   12.63%   12.43%   -0.21%     
==========================================
  Files           3        3              
  Lines         182      185       +3     
==========================================
  Hits           23       23              
- Misses        159      162       +3     
Impacted Files Coverage Δ
src/index.ts 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f0a561...3baf7f2. Read the comment docs.

@@ -31,7 +31,7 @@ export class DatastoreStore extends expressSession.Store {
kind: string;
expirationMs: number;
constructor(options: DataStoreOptions = {}) {
super(options);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I not be worried about that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but tests pass ... and I looked at the codebase of express-session and it doesn't use these options as far as I can tell.

@bcoe bcoe merged commit 33028da into master Nov 24, 2020
@bcoe bcoe deleted the fix-246 branch November 24, 2020 17:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: datastore Issues related to the googleapis/nodejs-datastore-session API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Namespace 'global.Express' has no exported member 'SessionData' with TypeScript build
2 participants