Skip to content

Commit c2daf6c

Browse files
⚙️ Chore(myError.ts): fix build process
1 parent de89b37 commit c2daf6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/myError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class MyError<TCustom = NonNullable<unknown>> {
66
public hint: TMyError<TCustom>["hint"];
77
public message: TMyError<TCustom>["message"];
88
public name: TMyError<TCustom>["name"];
9-
constructor(private error: Required<TMyError<TCustom>>) {
9+
constructor(error: Required<TMyError<TCustom>>) {
1010
this.message = error.message;
1111
this.code = error.code;
1212
this.hint = error.hint;

0 commit comments

Comments
 (0)