File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ export interface OurGraphQLContext {
2323 logout ( ) : Promise < void > ;
2424}
2525
26+ declare global {
27+ namespace Express {
28+ interface User {
29+ session_id : string ;
30+ }
31+ }
32+ }
33+
2634const TagsFilePlugin = makePgSmartTagsFromFilePlugin (
2735 // We're using JSONC for VSCode compatibility; also using an explicit file
2836 // path keeps the tests happy.
Original file line number Diff line number Diff line change @@ -10,14 +10,6 @@ interface DbSession {
1010 session_id : string ;
1111}
1212
13- declare global {
14- namespace Express {
15- interface User {
16- session_id : string ;
17- }
18- }
19- }
20-
2113export default async ( app : Express ) => {
2214 passport . serializeUser ( ( sessionObject : DbSession , done ) => {
2315 done ( null , sessionObject . session_id ) ;
You can’t perform that action at this time.
0 commit comments