- Wiki!
@since
to each property in each interface.@default
to properties with default value.@template
for type parameters.- Description to
SunriseSunset.APIResponseNotFormatted
.
SunriseSunset
description.SunriseSunset.APIParameters
description.
- 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.
- Replaced
SunriseSunset.APIResponseNotFormatted
withSunriseSunset.APIResponseFormatted<false>
. - Changed
APIResponseInvalidRequest
,APIResponseInvalidDate
,APIResponseInvalidTzid
, andAPIResponseUnknownError
to type instead of interface. - Renamed
types.ts
totypes.d.ts
.
- Added namespace
SunriseSunset
. - Added function
getSunriseSunset
.