mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
add 'as'
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
This commit is contained in:
parent
ef9edc8fd0
commit
13e4134999
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ f(1, "string") -- not ok
|
||||||
|
|
||||||
`f` accepts any number of `number` values.
|
`f` accepts any number of `number` values.
|
||||||
|
|
||||||
In type annotations, this is written `...T`:
|
In type annotations, this is written as `...T`:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
type F = (...number) -> ...string
|
type F = (...number) -> ...string
|
||||||
|
|
Loading…
Add table
Reference in a new issue