-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not add space between constructor parameters
- Loading branch information
1 parent
e0fde06
commit 268912c
Showing
3 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
maxColumn = 100 | ||
<<< Space between annotation and ctor argument list | ||
class A @Inject()(b: C) | ||
>>> | ||
class A @Inject() (b: C) | ||
|
||
<<< Space between annotation and ctor argument list (with multiple argument list) | ||
class MyComponent @Inject()(ctx: Context)(ws: WSClient) | ||
>>> | ||
class MyComponent @Inject() (ctx: Context)(ws: WSClient) | ||
|
||
<<< Do not add add a space when a constructor has multiple argument lists #1528 | ||
new ShardEntity(rts) (onMessage) | ||
>>> | ||
new ShardEntity(rts)(onMessage) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters