Skip to content

Commit

Permalink
⚙️ Chore(myError.ts): fix build process
Browse files Browse the repository at this point in the history
  • Loading branch information
INeedJobToStartWork committed Aug 5, 2024
1 parent de89b37 commit c2daf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/myError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class MyError<TCustom = NonNullable<unknown>> {
public hint: TMyError<TCustom>["hint"];
public message: TMyError<TCustom>["message"];
public name: TMyError<TCustom>["name"];
constructor(private error: Required<TMyError<TCustom>>) {
constructor(error: Required<TMyError<TCustom>>) {
this.message = error.message;
this.code = error.code;
this.hint = error.hint;
Expand Down

0 comments on commit c2daf6c

Please sign in to comment.