mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Add documentation for default types
This commit is contained in:
parent
df5ba24ef9
commit
4bf601ecc5
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ Type =
|
|||
SimpleType ['|' Type] |
|
||||
SimpleType ['&' Type]
|
||||
|
||||
GenericTypeList = NAME [',' GenericTypeList] | NAME '...' {',' NAME '...'}
|
||||
GenericTypePack = NAME '...' ['=' '(' TypeList ')']
|
||||
GenericTypeList = NAME ['=' Type] [',' GenericTypeList] | GenericTypePack {',' GenericTypePack}
|
||||
TypeList = Type [',' TypeList] | '...' Type
|
||||
ReturnType = Type | '(' TypeList ')'
|
||||
TableIndexer = '[' Type ']' ':' Type
|
||||
|
|
Loading…
Add table
Reference in a new issue