From 3f22777ae2e2e27c9482139ac88820f981344ae2 Mon Sep 17 00:00:00 2001 From: S0P4 Date: Mon, 16 Sep 2024 10:38:35 -0300 Subject: [PATCH] chore(shared): fix angleTo return type of vector2 (#324) --- shared/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/index.d.ts b/shared/index.d.ts index 802ee71c..ab59dd27 100644 --- a/shared/index.d.ts +++ b/shared/index.d.ts @@ -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.