Closed jbcbdse closed 6 years ago
let sessionStore = new MySQLStore(options); app.use(session({ secret: "this is a terrible secret", cookie: {}, resave: false, saveUninitialized: false, store: sessionStore }));
This code fails to compile and says that sessionStore is not compatible with session.Store or session.MemoryStore, that it is missing property 'all'
Is there a fix for this?
I have the same ;
Fixed in latest release
This code fails to compile and says that sessionStore is not compatible with session.Store or session.MemoryStore, that it is missing property 'all'
Is there a fix for this?