mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix type
This commit is contained in:
parent
5278daa506
commit
077fe6069a
1 changed files with 2 additions and 2 deletions
|
@ -64,13 +64,13 @@ SimpleType =
|
|||
'typeof' '(' exp ')' |
|
||||
TableType |
|
||||
FunctionType |
|
||||
'(' SimpleType ')'
|
||||
'(' Type ')'
|
||||
|
||||
SingletonType = STRING | 'true' | 'false'
|
||||
|
||||
UnionSuffix = {'?'} ['|' SimpleType]
|
||||
IntersectionSuffix = ['&' SimpleType]
|
||||
Type = SimpleType {UnionSuffix | IntersectionSuffix}
|
||||
Type = SimpleType {UnionSuffix} | SimpleType {IntersectionSuffix}
|
||||
|
||||
GenericTypePackParameter = NAME '...'
|
||||
GenericTypeList = NAME [',' GenericTypeList] | GenericTypePackParameter {',' GenericTypePackParameter}
|
||||
|
|
Loading…
Add table
Reference in a new issue