mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
wip: code formatting nits continued
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* clamp(10, -5, 5)
|
||||
* // => 5
|
||||
*/
|
||||
function clamp(number, lower, upper) {
|
||||
function clamp(number: number, lower: number, upper: number) {
|
||||
number = +number;
|
||||
lower = +lower;
|
||||
upper = +upper;
|
||||
|
||||
Reference in New Issue
Block a user