fix(types): optional params in getClosest* (#519)

This commit is contained in:
ANTOND
2024-03-19 08:01:52 +01:00
committed by GitHub
parent 0e00ff57ff
commit 10db769f41
4 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
---@param coords vector3 The coords to check from.
---@param maxDistance number The max distance to check.
---@param maxDistance? number The max distance to check.
---@return number? ped
---@return vector3? pedCoords
function lib.getClosestPed(coords, maxDistance)