Update syntax.md

Fix typo: `nunber` -> `number`

Fixes #35.
This commit is contained in:
Arseny Kapoulkine 2021-05-04 18:57:48 -07:00 committed by GitHub
parent 26be211e5d
commit cbc99c3222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ To return no values or more than one, you need to wrap the return type position
```lua
local no_returns: (number, string) -> ()
local returns_boolean_and_string: (nunber, string) -> (boolean, string)
local returns_boolean_and_string: (number, string) -> (boolean, string)
function foo(x: number, y: number): (number, string)
return x + y, tostring(x) .. tostring(y)