mirror of
https://github.com/zadam/trilium.git
synced 2025-10-07 22:22:44 +08:00
fix(server): type errors due to session management
This commit is contained in:
parent
244a162e42
commit
dc35ad9ace
1 changed files with 0 additions and 1 deletions
1
apps/server/src/express.d.ts
vendored
1
apps/server/src/express.d.ts
vendored
|
@ -2,7 +2,6 @@ import type { SessionData } from "express-session";
|
||||||
|
|
||||||
export declare module "express-serve-static-core" {
|
export declare module "express-serve-static-core" {
|
||||||
interface Request {
|
interface Request {
|
||||||
session: SessionData;
|
|
||||||
headers: {
|
headers: {
|
||||||
"x-local-date"?: string;
|
"x-local-date"?: string;
|
||||||
"x-labels"?: string;
|
"x-labels"?: string;
|
||||||
|
|
Loading…
Add table
Reference in a new issue