Skip to content

Commit

Permalink
feat: 🏷️ use generics
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Sep 6, 2023
1 parent a517a24 commit 2c3a843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export type RfVec3<Units = Kilometers> = Vec3<Units>;
* This format is particularly useful in scenarios where you need to perform operations on vectors,
* such as addition, subtraction, scalar multiplication, dot product, and cross product.
*/
export type Vec3Flat = [number, number, number];
export type Vec3Flat<T = number> = [T, T, T];

/**
* A type that represents a two-line element set (TLE).
Expand Down

0 comments on commit 2c3a843

Please sign in to comment.