Releases: Space-yg/sunrise-sunset.org
Releases · Space-yg/sunrise-sunset.org
v1.1.0
Added
- Added this CHANGELOG.md.
SunriseSunset.APIParameters.date
can now take aDate
.SunriseSunset.APIResponse
can take a type parameter which is a status, or status of the response.SunriseSunset.APIResponseFormatted
can now take a type parameter which is boolean for whether the response is formatted or not.getSunriseSunset
function now accepts aDate
type in thedate
parameter.
Edited
- Replaced
SunriseSunset.APIResponseNotFormatted
withSunriseSunset.APIResponseFormatted<false>
. - Changed
APIResponseInvalidRequest
,APIResponseInvalidDate
,APIResponseInvalidTzid
, andAPIResponseUnknownError
to type instead of interface. - Renamed
types.ts
totypes.d.ts
.