Skip to content

Commit 72c4efa

Browse files
committed
update tsconfig/node to v20
Signed-off-by: Brian DeHamer <[email protected]>
1 parent 0ddf320 commit 72c4efa

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@changesets/cli": "^2.29.7",
2121
"@swc/jest": "^0.2.39",
2222
"@total-typescript/shoehorn": "^0.1.2",
23-
"@tsconfig/node16": "^16.1.6",
23+
"@tsconfig/node20": "^20.1.8",
2424
"@types/jest": "^30.0.0",
2525
"@types/node": "^24.9.1",
2626
"eslint": "^9.38.0",

packages/oci/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const ensureStatus = (
4141
};
4242

4343
export class OCIError extends Error {
44-
cause: any; /* eslint-disable-line @typescript-eslint/no-explicit-any */
44+
override cause: any; /* eslint-disable-line @typescript-eslint/no-explicit-any */
4545

4646
constructor({
4747
message,

packages/sign/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type InternalErrorCode =
2727

2828
export class InternalError extends Error {
2929
code: InternalErrorCode;
30-
cause: any | undefined;
30+
override cause: any | undefined;
3131

3232
constructor({
3333
code,

packages/tuf/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type TUFErrorCode =
2323

2424
export class TUFError extends Error {
2525
code: TUFErrorCode;
26-
cause: any | undefined;
26+
override cause: any | undefined;
2727

2828
constructor({
2929
code,

packages/verify/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616
class BaseError<T extends string> extends Error {
1717
code: T;
18-
cause: any; /* eslint-disable-line @typescript-eslint/no-explicit-any */
18+
override cause: any; /* eslint-disable-line @typescript-eslint/no-explicit-any */
1919

2020
constructor({
2121
code,

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node16/tsconfig.json",
2+
"extends": "@tsconfig/node20/tsconfig.json",
33
"compilerOptions": {
44
"declaration": true,
55
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)