Skip to content

Commit 187f151

Browse files
authored
Prepare for node 24 (#613)
1 parent 006f699 commit 187f151

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/validation/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type AdapterErrorResponse = {
2020
export class AdapterError extends Error {
2121
status: string
2222
statusCode: number
23-
cause: unknown
23+
override cause: unknown
2424
url?: string
2525
errorResponse: unknown
2626
feedID?: string

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"outDir": "dist",
44
"rootDir": ".",
5-
"target": "es2020",
5+
"target": "es2022",
66
"esModuleInterop": true,
77
"moduleResolution": "node",
88
"module": "CommonJS",

0 commit comments

Comments
 (0)