shashwatak / satellite-js

Modular set of functions for SGP4 and SDP4 propagation of TLEs.
MIT License
902 stars 145 forks source link

bug: PositionAndVelocity's type should be EciVec3 | false #131

Open H01001000 opened 1 month ago

H01001000 commented 1 month ago

The type for PositionAndVelocity should be EciVec3 | false, since its false only if errored. It make getting the type messy

https://github.com/shashwatak/satellite-js/blob/develop/types/index.d.ts#L105-L106