mirror of
https://github.com/CompeyDev/blog.devcomp.xyz.git
synced 2024-12-12 04:40:41 +00:00
Fix grammar in react lua note and len
type func argument
This commit is contained in:
parent
cc1073517c
commit
0d609f0984
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ localeFn("en-gb") // TypeError: Argument of type 'string' is not assignable to p
|
||||||
```
|
```
|
||||||
|
|
||||||
```luau
|
```luau
|
||||||
type function IsStringOfLength(s, length)
|
type function IsStringOfLength(s, len)
|
||||||
local lenNum = tonumber(len:value())
|
local lenNum = tonumber(len:value())
|
||||||
assert(s:is("singleton") and typeof(s:value()) == "string", "s must be of type string")
|
assert(s:is("singleton") and typeof(s:value()) == "string", "s must be of type string")
|
||||||
assert(len:is("singleton") and lenNum ~= nil, "len must be of type number")
|
assert(len:is("singleton") and lenNum ~= nil, "len must be of type number")
|
||||||
|
@ -137,7 +137,7 @@ The Luau community has developed many libraries to make JavaScript developers fe
|
||||||
…and many more which I haven't listed here!
|
…and many more which I haven't listed here!
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
It isn't currently possible for create websites using react-lua, it is currently only used for
|
It isn't currently possible to create websites using react-lua, it is currently only used for
|
||||||
frontend in Roblox game development; but web compatibility is being worked on.
|
frontend in Roblox game development; but web compatibility is being worked on.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue