Skip to content

Commit d1df8a4

Browse files
committed
chore: fix type checking error
1 parent 9fa896d commit d1df8a4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
if: runner.os == 'Linux'
3434
run: deno lint
3535

36+
- name: check
37+
if: runner.os == 'Linux'
38+
run: deno check
39+
3640
- name: test
3741
run: deno test -A
3842

src/test/server.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const startServer: StartServerHandler = (options) => {
1414
// todo: improve
1515
const body = await handlerResponse.arrayBuffer();
1616
response.end(new Uint8Array(body));
17-
} catch (error) {
17+
} catch (error: any) {
1818
// deno-lint-ignore no-console
1919
console.error("Error", error);
2020
if (!response.headersSent) {

0 commit comments

Comments
 (0)