Skip to content

Commit fe7ad3c

Browse files
committed
fix: upcoming TypeScript 4.3 changes
1 parent 29326ef commit fe7ad3c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

application.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,11 @@ export class Application<AS extends State = Record<string, any>>
404404
secure = secureOrConn ?? false;
405405
contextRequest = request;
406406
}
407-
const context = new Context(this, contextRequest, secure);
407+
const context = new Context(
408+
this,
409+
contextRequest,
410+
secure as boolean | undefined,
411+
);
408412
try {
409413
await this.#getComposed()(context);
410414
} catch (err) {

0 commit comments

Comments
 (0)