Tell lua lsp about nil-ed point

This commit is contained in:
Alexey 2025-10-23 15:18:50 +03:00
commit 27a0003579

View file

@ -3,8 +3,8 @@
Point = { x = 1, y = 1 }
-- Point factory
---@param x number
---@param y number
---@param x number | nil
---@param y number | nil
---@return any
function Point:new( x, y )
local point = {