@@ -56,7 +56,7 @@ class Functions {
56
56
/**
57
57
* Get the absolute value of the provided number.
58
58
*
59
- * @param args The number to get the absolute value of
59
+ * @param args - The number to get the absolute value of
60
60
*/
61
61
@Functions . signature ( { argumentsSpecs : [ [ 'number' ] ] } )
62
62
public funcAbs ( args : number ) : number {
@@ -66,7 +66,7 @@ class Functions {
66
66
/**
67
67
* Calculate the average of the numbers in the provided array.
68
68
*
69
- * @param args The numbers to average
69
+ * @param args - The numbers to average
70
70
*/
71
71
@Functions . signature ( {
72
72
argumentsSpecs : [ [ 'array-number' ] ] ,
@@ -78,7 +78,7 @@ class Functions {
78
78
/**
79
79
* Get the ceiling of the provided number.
80
80
*
81
- * @param args The number to get the ceiling of
81
+ * @param args - The number to get the ceiling of
82
82
*/
83
83
@Functions . signature ( { argumentsSpecs : [ [ 'number' ] ] } )
84
84
public funcCeil ( args : number ) : number {
@@ -88,8 +88,8 @@ class Functions {
88
88
/**
89
89
* Determine if the given value is contained in the provided array or string.
90
90
*
91
- * @param haystack The array or string to check
92
- * @param needle The value to check for
91
+ * @param haystack - The array or string to check
92
+ * @param needle - The value to check for
93
93
*/
94
94
@Functions . signature ( {
95
95
argumentsSpecs : [ [ 'array' , 'string' ] , [ 'any' ] ] ,
@@ -101,8 +101,8 @@ class Functions {
101
101
/**
102
102
* Determines if the provided string ends with the provided suffix.
103
103
*
104
- * @param str The string to check
105
- * @param suffix The suffix to check for
104
+ * @param str - The string to check
105
+ * @param suffix - The suffix to check for
106
106
*/
107
107
@Functions . signature ( {
108
108
argumentsSpecs : [ [ 'string' ] , [ 'string' ] ] ,
@@ -114,7 +114,7 @@ class Functions {
114
114
/**
115
115
* Get the floor of the provided number.
116
116
*
117
- * @param args The number to get the floor of
117
+ * @param args - The number to get the floor of
118
118
*/
119
119
@Functions . signature ( { argumentsSpecs : [ [ 'number' ] ] } )
120
120
public funcFloor ( args : number ) : number {
@@ -124,8 +124,8 @@ class Functions {
124
124
/**
125
125
* Join the provided array into a single string.
126
126
*
127
- * @param separator The separator to use
128
- * @param items The array of itmes to join
127
+ * @param separator - The separator to use
128
+ * @param items - The array of itmes to join
129
129
*/
130
130
@Functions . signature ( {
131
131
argumentsSpecs : [ [ 'string' ] , [ 'array-string' ] ] ,
@@ -137,7 +137,7 @@ class Functions {
137
137
/**
138
138
* Get the keys of the provided object.
139
139
*
140
- * @param arg The object to get the keys of
140
+ * @param arg - The object to get the keys of
141
141
*/
142
142
@Functions . signature ( {
143
143
argumentsSpecs : [ [ 'object' ] ] ,
@@ -149,7 +149,7 @@ class Functions {
149
149
/**
150
150
* Get the number of items in the provided item.
151
151
*
152
- * @param arg The array to get the length of
152
+ * @param arg - The array to get the length of
153
153
*/
154
154
@Functions . signature ( {
155
155
argumentsSpecs : [ [ 'array' , 'string' , 'object' ] ] ,
@@ -166,8 +166,8 @@ class Functions {
166
166
/**
167
167
* Map the provided function over the provided array.
168
168
*
169
- * @param expression The expression to map over the array
170
- * @param args The array to map the expression over
169
+ * @param expression - The expression to map over the array
170
+ * @param args - The array to map the expression over
171
171
*/
172
172
@Functions . signature ( {
173
173
argumentsSpecs : [ [ 'any' ] , [ 'array' ] ] ,
@@ -184,7 +184,7 @@ class Functions {
184
184
/**
185
185
* Get the maximum value in the provided array.
186
186
*
187
- * @param arg The array to get the maximum value of
187
+ * @param arg - The array to get the maximum value of
188
188
*/
189
189
@Functions . signature ( {
190
190
argumentsSpecs : [ [ 'array-number' , 'array-string' ] ] ,
@@ -204,8 +204,8 @@ class Functions {
204
204
/**
205
205
* Get the item in the provided array that has the maximum value when the provided expression is evaluated.
206
206
*
207
- * @param args The array of items to get the maximum value of
208
- * @param expression The expression to evaluate for each item in the array
207
+ * @param args - The array of items to get the maximum value of
208
+ * @param expression - The expression to evaluate for each item in the array
209
209
*/
210
210
@Functions . signature ( {
211
211
argumentsSpecs : [ [ 'array' ] , [ 'expression' ] ] ,
@@ -252,7 +252,7 @@ class Functions {
252
252
*
253
253
* Note that this is a shallow merge and will not merge nested objects.
254
254
*
255
- * @param args The objects to merge
255
+ * @param args - The objects to merge
256
256
*/
257
257
@Functions . signature ( {
258
258
argumentsSpecs : [ [ 'object' ] ] ,
@@ -266,7 +266,7 @@ class Functions {
266
266
/**
267
267
* Get the minimum value in the provided array.
268
268
*
269
- * @param arg The array to get the minimum value of
269
+ * @param arg - The array to get the minimum value of
270
270
*/
271
271
@Functions . signature ( {
272
272
argumentsSpecs : [ [ 'array-number' , 'array-string' ] ] ,
@@ -285,8 +285,8 @@ class Functions {
285
285
/**
286
286
* Get the item in the provided array that has the minimum value when the provided expression is evaluated.
287
287
*
288
- * @param args The array of items to get the minimum value of
289
- * @param expression The expression to evaluate for each item in the array
288
+ * @param args - The array of items to get the minimum value of
289
+ * @param expression - The expression to evaluate for each item in the array
290
290
*/
291
291
@Functions . signature ( {
292
292
argumentsSpecs : [ [ 'array' ] , [ 'expression' ] ] ,
@@ -332,7 +332,7 @@ class Functions {
332
332
* Get the first argument that does not evaluate to null.
333
333
* If all arguments evaluate to null, then null is returned.
334
334
*
335
- * @param args The keys of the items to check
335
+ * @param args - The keys of the items to check
336
336
*/
337
337
@Functions . signature ( {
338
338
argumentsSpecs : [ [ ] ] ,
@@ -345,7 +345,7 @@ class Functions {
345
345
/**
346
346
* Reverses the provided string or array.
347
347
*
348
- * @param arg The string or array to reverse
348
+ * @param arg - The string or array to reverse
349
349
*/
350
350
@Functions . signature ( {
351
351
argumentsSpecs : [ [ 'string' , 'array' ] ] ,
@@ -359,7 +359,7 @@ class Functions {
359
359
/**
360
360
* Sort the provided array.
361
361
*
362
- * @param arg The array to sort
362
+ * @param arg - The array to sort
363
363
*/
364
364
@Functions . signature ( {
365
365
argumentsSpecs : [ [ 'array-number' , 'array-string' ] ] ,
@@ -382,8 +382,8 @@ class Functions {
382
382
/**
383
383
* Sort the provided array by the provided expression.
384
384
*
385
- * @param args The array to sort
386
- * @param expression The expression to sort by
385
+ * @param args - The array to sort
386
+ * @param expression - The expression to sort by
387
387
*/
388
388
@Functions . signature ( {
389
389
argumentsSpecs : [ [ 'array' ] , [ 'expression' ] ] ,
@@ -426,8 +426,8 @@ class Functions {
426
426
/**
427
427
* Determines if the provided string starts with the provided prefix.
428
428
*
429
- * @param str The string to check
430
- * @param prefix The prefix to check for
429
+ * @param str - The string to check
430
+ * @param prefix - The prefix to check for
431
431
*/
432
432
@Functions . signature ( {
433
433
argumentsSpecs : [ [ 'string' ] , [ 'string' ] ] ,
@@ -439,7 +439,7 @@ class Functions {
439
439
/**
440
440
* Sum the provided numbers.
441
441
*
442
- * @param args The numbers to sum
442
+ * @param args - The numbers to sum
443
443
*/
444
444
@Functions . signature ( {
445
445
argumentsSpecs : [ [ 'array-number' ] ] ,
@@ -454,7 +454,7 @@ class Functions {
454
454
* If the provided value is an array, then it is returned.
455
455
* Otherwise, the value is wrapped in an array and returned.
456
456
*
457
- * @param arg The items to convert to an array
457
+ * @param arg - The items to convert to an array
458
458
*/
459
459
@Functions . signature ( {
460
460
argumentsSpecs : [ [ 'any' ] ] ,
@@ -473,7 +473,7 @@ class Functions {
473
473
*
474
474
* If the value cannot be converted to a number, then null is returned.
475
475
*
476
- * @param arg The value to convert to a number
476
+ * @param arg - The value to convert to a number
477
477
*/
478
478
@Functions . signature ( {
479
479
argumentsSpecs : [ [ 'any' ] ] ,
@@ -496,7 +496,7 @@ class Functions {
496
496
* If the provided value is a string, then it is returned.
497
497
* Otherwise, the value is converted to a string and returned.
498
498
*
499
- * @param arg The value to convert to a string
499
+ * @param arg - The value to convert to a string
500
500
*/
501
501
@Functions . signature ( {
502
502
argumentsSpecs : [ [ 'any' ] ] ,
@@ -508,7 +508,7 @@ class Functions {
508
508
/**
509
509
* Get the type of the provided value.
510
510
*
511
- * @param arg The value to check the type of
511
+ * @param arg - The value to check the type of
512
512
*/
513
513
@Functions . signature ( {
514
514
argumentsSpecs : [ [ 'any' ] ] ,
@@ -520,7 +520,7 @@ class Functions {
520
520
/**
521
521
* Get the values of the provided object.
522
522
*
523
- * @param arg The object to get the values of
523
+ * @param arg - The object to get the values of
524
524
*/
525
525
@Functions . signature ( {
526
526
argumentsSpecs : [ [ 'object' ] ] ,
@@ -544,7 +544,7 @@ class Functions {
544
544
* to the `methods` set. Finally, when the recursion collects back to the current instance,
545
545
* it adds the collected methods to the `this.methods` set so that they can be accessed later.
546
546
*
547
- * @param scope The scope of the class instance to introspect
547
+ * @param scope - The scope of the class instance to introspect
548
548
*/
549
549
public introspectMethods ( scope ?: Functions ) : Set < string > {
550
550
const prototype = Object . getPrototypeOf ( this ) ;
@@ -598,7 +598,7 @@ class Functions {
598
598
* }
599
599
* ```
600
600
*
601
- * @param options The options for the signature decorator
601
+ * @param options - The options for the signature decorator
602
602
*/
603
603
public static signature (
604
604
options : FunctionSignatureOptions
0 commit comments