Skip to content

Commit

Permalink
fix: 🐛 fix output type being expected as input type
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Jan 20, 2024
1 parent bbbdbad commit 2b3ba86
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -691,13 +691,18 @@ export type TleData = {
export type TleDataFull = Line1Data & Line2Data;
export type StringifiedNumber = `${number}.${number}`;

/**
* Represents a set of data containing both Line 1 and Line 2 TLE information.
*
* TODO: #22 TleParams types should be more consistent.
*/
export type TleParams = {
sat?: Satellite;
inc: StringifiedNumber;
meanmo: StringifiedNumber;
rasc: StringifiedNumber;
argPe: StringifiedNumber;
meana: StringifiedNumber;
inc: string|number;
meanmo: string|number;
rasc: string|number;
argPe: string|number;
meana: string|number;
ecen: string;
epochyr: string;
epochday: string;
Expand Down

0 comments on commit 2b3ba86

Please sign in to comment.