Commit af91d39
Gonzalo Diaz
[BUGFIX] sonarqube: Prefer class field declaration over
Class properties should be declared as fields rather than assigned in constructors typescript:S7757this assignment in constructor for static values.1 parent 2848298 commit af91d39
File tree
1 file changed
+1
-2
lines changed- src/hackerrank/interview_preparation_kit/sort
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
0 commit comments