You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/modules/number/index.ts
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ export class NumberModule extends SimpleModuleBase {
113
113
* @param options.fractionDigits The maximum number of digits to appear after the decimal point, for example `2` will round to 2 decimal points. Only one of `multipleOf` or `fractionDigits` should be passed.
114
114
*
115
115
* @throws When `min` is greater than `max`.
116
-
* @throws When `multipleOf` is negative.
116
+
* @throws When `multipleOf` is not a positive number.
117
117
* @throws When `fractionDigits` is negative.
118
118
* @throws When `fractionDigits` and `multipleOf` is passed in the same options object.
119
119
*
@@ -170,10 +170,6 @@ export class NumberModule extends SimpleModuleBase {
0 commit comments