suncalc3 icon indicating copy to clipboard operation
suncalc3 copied to clipboard

The npm package lacks the types definition

Open ericmorand opened this issue 3 years ago • 1 comments

Although the types are present in the project and are declared in package.json, they are missing from the published npm package, at least in 2.0.5:

https://www.npmjs.com/package/suncalc3?activeTab=explore

ericmorand avatar Feb 22 '23 18:02 ericmorand

Yep, to fix this they need to include suncalc.d.ts in the files array: https://github.com/Hypnos3/suncalc3/blob/master/package.json#L47

SamLeatherdale avatar Dec 29 '24 00:12 SamLeatherdale