Skip to content

Commit

Permalink
chore(shared): fix angleTo return type of vector2
Browse files Browse the repository at this point in the history
  • Loading branch information
S0P4 authored Aug 29, 2024
1 parent 458d48d commit 44b70eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2381,12 +2381,12 @@ declare module "alt-shared" {
/**
* Calculates angle between to vectors (in radians).
*/
public angleTo(vector: IVector2): Vector2;
public angleTo(vector: IVector2): number;

/**
* Calculates angle between to vectors (in degrees).
*/
public angleToDegrees(vector: IVector2): Vector2;
public angleToDegrees(vector: IVector2): number;

/**
* Converts degrees to radians.
Expand Down

0 comments on commit 44b70eb

Please sign in to comment.