mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Fix code style errors
Remove extra whitespace, use more consistent spacing, add missing semicolons, using dangling commas, break up long lines, consistent multiline operator placement, add missing JSDoc strings and so on.
This commit is contained in:
1 parent
97e05c0610
commit
7314dc99c8
71 files changed
+403
-290
No files matched your search
@@ -1188,7 +1188,7 @@ class HistogramChild {
|
||||
protected _bucketValues: Map<string, number>;
|
||||
protected _sumValues: Map<string, number>;
|
||||
protected _countValues: Map<string, number>;
|
||||
protected _key: string
|
||||
protected _key: string;
|
||||
protected _bucketKeys: Map<number, string>;
|
||||
|
||||
constructor(collector: Histogram, key: string) {
|
||||
@@ -1438,6 +1438,7 @@ export class Histogram extends LabeledCollector<HistogramChild> {
|
||||
* Observe a given value and increment matching buckets
|
||||
*
|
||||
* Note: Only works if this is an unlabeled collector.
|
||||
* @param value - number to count into histogram buckets.
|
||||
*/
|
||||
observe(value: number) {
|
||||
this._defaultChild!.observe(value);
|
||||
|
||||
Reference in new issue
Block a user