Skip to content

Commit

Permalink
test(types): replace var statement (#273)
Browse files Browse the repository at this point in the history
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
  • Loading branch information
Fdawgs authored Oct 24, 2024
1 parent 4ad874e commit 421468d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/types.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>(err);
expectType<Session | null | undefined>(session);
Expand Down

0 comments on commit 421468d

Please sign in to comment.