declare default for lsp

This commit is contained in:
Michael Freno
2025-10-09 22:23:18 -04:00
parent 9ad3f058a7
commit 67e32af78d

View File

@@ -8,10 +8,10 @@ local Color = {}
Color.__index = Color
--- Create a new color instance
---@param r number?
---@param g number?
---@param b number?
---@param a number? -- default 1
---@param r number? -- Default: 0
---@param g number? -- Default: 0
---@param b number? -- Default: 0
---@param a number? -- Default: 1
---@return Color
function Color.new(r, g, b, a)
local self = setmetatable({}, Color)