diff --git a/shared/index.d.ts b/shared/index.d.ts index 8703ed80..9625e25a 100644 --- a/shared/index.d.ts +++ b/shared/index.d.ts @@ -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.