Skip to content

Commit 7f8eb0f

Browse files
Make linter happy
Signed-off-by: Xavier Geerinck <[email protected]>
1 parent 76e5338 commit 7f8eb0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/http/actor/src/actor/DemoActorCounterImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class DemoActorCounterImpl extends AbstractActor implements DemoA
88
this.counter++;
99
}
1010

11-
async countBy(amount: number, multiplier: number = 1): Promise<void> {
11+
async countBy(amount: number, multiplier = 1): Promise<void> {
1212
this.counter += (amount * multiplier);
1313
}
1414
}

test/actor/DemoActorCounterImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class DemoActorCounterImpl extends AbstractActor implements DemoA
88
this.counter++;
99
}
1010

11-
async countBy(amount: number, multiplier: number = 1): Promise<void> {
11+
async countBy(amount: number, multiplier = 1): Promise<void> {
1212
this.counter += (amount * multiplier);
1313
}
1414

0 commit comments

Comments
 (0)