Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit a4c82f5

Browse files
committed
fix: type
1 parent 4aa081d commit a4c82f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ const toResponse = async (res: HttpResponse, response: Response) => {
4040
export const node =
4141
(port: number, callback: (socket: us_listen_socket) => any = () => {}) =>
4242
(app: Elysia) => {
43-
// @ts-ignore
44-
const routes: InternalRoute<any>[] = app.routes
43+
const routes: InternalRoute[] = app.routes
4544

4645
const server = App()
4746

0 commit comments

Comments
 (0)