Skip to content

Commit 86a4f82

Browse files
committed
tweak: addShaper signature rest params
1 parent dde05ff commit 86a4f82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

s/logger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export class Logger {
5858
return this
5959
}
6060

61-
addShaper(shaper: Shaper) {
62-
this.shapers.push(shaper)
61+
addShaper(...shapers: Shaper[]) {
62+
this.shapers.push(...shapers)
6363
return this
6464
}
6565
}

0 commit comments

Comments
 (0)