From e5e7e1d77cd47343434230246bc3dda390f8e1e9 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 24 Oct 2024 17:15:17 +0100 Subject: [PATCH] test(types): replace `var` statement Signed-off-by: Frazer Smith --- types/types.test-d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/types.test-d.ts b/types/types.test-d.ts index b209f8c..d2e77c4 100644 --- a/types/types.test-d.ts +++ b/types/types.test-d.ts @@ -106,7 +106,7 @@ app.route({ expectType<{ id: number } | undefined>(request.session.user); request.sessionStore.set('session-set-test', request.session, () => {}); request.sessionStore.get('', (err, session) => { - var store = new MemoryStore(); + const store = new MemoryStore(); if (session) store.set('session-set-test', session, () => {}); expectType(err); expectType(session);