diff --git a/changelog.md b/changelog.md index e3feb32a4..957493770 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ ## Unreleased +* `FIX` Correct `math.type` meta return annotation to use `nil` instead of the string literal `'nil'` * `FIX` Fix initial `nameStyle.config` not getting loaded in the appropriate workspace. ## 3.18.2 diff --git a/meta/template/math.lua b/meta/template/math.lua index f75c9b1a0..c20ab8c93 100644 --- a/meta/template/math.lua +++ b/meta/template/math.lua @@ -240,7 +240,7 @@ function math.tointeger(x) end ---@return ---| '"integer"' ---| '"float"' ----| 'nil' +---| nil ---@nodiscard function math.type(x) end