Skip to content

Commit

Permalink
t.vector should use t.type()
Browse files Browse the repository at this point in the history
  • Loading branch information
osyrisrblx committed Feb 4, 2024
1 parent 2f39138 commit 7ddc273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ t.userdata = t.type("userdata")
@returns True iff the condition is satisfied, false otherwise
**--]]
t.vector = t.typeof("vector")
t.vector = t.type("vector")

--[[**
ensures value is a number and non-NaN
Expand Down
2 changes: 1 addition & 1 deletion lib/ts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ t.userdata = t.type("userdata")
@returns True iff the condition is satisfied, false otherwise
**--]]
t.vector = t.typeof("vector")
t.vector = t.type("vector")

--[[**
ensures value is a number and non-NaN
Expand Down

0 comments on commit 7ddc273

Please sign in to comment.