Skip to content

Commit 4f79ee5

Browse files
committed
Update TypeScript & typedoc to fix Node type errors, drop Node 14 in CI
Node 14 is still nominally supported at runtime (for now), but no longer supported at build time due to requirements of dev tooling (e.g. typedoc)
1 parent 70af63e commit 4f79ee5

File tree

5 files changed

+6
-56
lines changed

5 files changed

+6
-56
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
strategy:
99
matrix:
10-
node-version: [14.x, 16.x, 18.x, 20.x, v20.11.1, 22.x]
10+
node-version: [16.x, 18.x, 20.x, v20.11.1, 22.x]
1111

1212
steps:
1313
- uses: actions/checkout@v4

custom-typings/asynciterator.d.ts

Lines changed: 0 additions & 48 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@
147147
"tmp-promise": "^1.0.3",
148148
"ts-loader": "^9.2.9",
149149
"ts-node": "^10.9.2",
150-
"typedoc": "^0.22.4",
151-
"typescript": "4.7.4",
150+
"typedoc": "^0.26.7",
151+
"typescript": "5.6.2",
152152
"url": "^0.11.0",
153153
"util": "^0.12.4",
154154
"webpack": "^5.72.0",

src/rules/requests/request-rule-builder.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
FileHandlerDefinition,
1717
JsonRpcResponseHandlerDefinition,
1818
ResetConnectionHandlerDefinition,
19+
CallbackResponseMessageResult
1920
} from "./request-handler-definitions";
2021
import { MaybePromise } from "../../util/type-utils";
2122
import { byteLength } from "../../util/util";

typedoc.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
2-
"validation": {
3-
"invalidLink": true
4-
},
5-
"treatWarningsAsErrors": true,
6-
"excludePrivate": true,
2+
"treatValidationWarningsAsErrors": true,
73
"excludeProtected": true,
84
"excludeInternal": true,
5+
"excludeExternals": true,
96
"readme": "docs/api-docs-landing-page.md",
107
"out": "typedoc/"
118
}

0 commit comments

Comments
 (0)