Skip to content

Commit d96c451

Browse files
authored
Add non-nullable modifier to return type of functions never returning null (#224)
Alternatively, use a primitive type instead of nullable boxed type.
1 parent 2b03706 commit d96c451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utilities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function validate_(params) {
5151
/**
5252
* Gets the time in seconds, rounded down to the nearest second.
5353
* @param {Date} date The Date object to convert.
54-
* @return {Number} The number of seconds since the epoch.
54+
* @return {number} The number of seconds since the epoch.
5555
* @private
5656
*/
5757
function getTimeInSeconds_(date) {

0 commit comments

Comments
 (0)