Skip to content

Commit

Permalink
chore(shared): fix angleTo return type of vector2 (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
S0P4 authored and xLuxy committed Sep 16, 2024
1 parent 70769a6 commit 2dd11cd
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 @@ -2415,12 +2415,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 2dd11cd

Please sign in to comment.