fix typo jsdom tag returns

This commit is contained in:
eouia 2022-04-26 14:57:47 +02:00
parent 038b6765e7
commit 0f39b7733c

View File

@ -126,7 +126,7 @@ class WeatherObject {
/**
* Checks if the weatherObject is at dayTime.
*
* @return {boolean} true if it is at dayTime
* @returns {boolean} true if it is at dayTime
*/
isDayTime() {
return this.date.isBetween(this.sunrise, this.sunset, undefined, "[]");
@ -150,7 +150,7 @@ class WeatherObject {
/**
* Clone to simple object to prevent mutating and deprecated legacy library.
*
* @return {object} simple object cloned.
* @returns {object} simple object cloned.
*/
simpleClone() {
const toFlat = ["date", "sunrise", "sunset"];