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 Sep 16, 2024
1 parent ffe50da commit 3f22777
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 3f22777

Please sign in to comment.