Skip to content

Commit

Permalink
fix(errors): update tslib to 2022 (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
seriouslag authored May 13, 2024
1 parent 0d066be commit dfeb701
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/errors/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { type ZodIssue } from 'zod';
export class SlonikError extends Error {
public readonly message: string;

public readonly cause?: Error;
public override readonly cause?: Error;

public constructor(message: string, options?: { cause?: Error }) {
super(message);
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"declarationMap": true,
"esModuleInterop": true,
"lib": [
"es2021"
"es2022"
],
"module": "commonjs",
"moduleResolution": "node",
Expand Down

0 comments on commit dfeb701

Please sign in to comment.