Skip to content

Commit f3b91ad

Browse files
authored
Merge pull request #3403 from haithium/master
fix(math): correct math.type return annotation
2 parents 2c884a6 + 4682c70 commit f3b91ad

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
5+
* `FIX` Correct `math.type` meta return annotation to use `nil` instead of the string literal `'nil'`
56
* `FIX` Fix initial `nameStyle.config` not getting loaded in the appropriate workspace.
67

78
## 3.18.2

meta/template/math.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function math.tointeger(x) end
240240
---@return
241241
---| '"integer"'
242242
---| '"float"'
243-
---| 'nil'
243+
---| nil
244244
---@nodiscard
245245
function math.type(x) end
246246

0 commit comments

Comments
 (0)