From 4e2b1b74a43a0fc83d8132742bc8ea145c16e2d2 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 17 Aug 2024 15:04:43 +0200 Subject: [PATCH] Add `requestId` to request context --- src/app.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app.d.ts b/src/app.d.ts index a6957f9..ecbac9e 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -9,3 +9,9 @@ declare global { // interface Platform {} } } + +declare namespace App { + interface Locals { + requestId: string; + } +}