Skip to content

Commit

Permalink
fix: remove static bugs
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Urbańczyk <urbanczyk.maciej.95@gmail.com>
  • Loading branch information
imabp and magicmatatjahu authored Aug 30, 2022
1 parent a954331 commit 671944b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/problem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class Problem extends Error implements ProblemInterface {
.forEach((k) => (this[k] = problem[k]));
}

copy(problem: ProblemInterface, mode: COPY_MODE, props: string[]): Problem {
copy(mode: COPY_MODE = COPY_MODE.LEAVE_PROPS, props: string[] = []): Problem {
switch (mode) {
case COPY_MODE.LEAVE_PROPS:
return new Problem(problem, props);
Expand Down

0 comments on commit 671944b

Please sign in to comment.