Update grammar.md (#379)
This commit is contained in:
parent
3c42b3a013
commit
1334db600f
|
@ -68,8 +68,8 @@ SingletonType = STRING | 'true' | 'false'
|
|||
|
||||
Type =
|
||||
SimpleType ['?'] |
|
||||
SimpleType ['|' Type] |
|
||||
SimpleType ['&' Type]
|
||||
Type ['|' Type] |
|
||||
Type ['&' Type]
|
||||
|
||||
GenericTypePackParameter = NAME '...' ['=' (TypePack | VariadicTypePack | GenericTypePack)]
|
||||
GenericTypeParameterList = NAME ['=' Type] [',' GenericTypeParameterList] | GenericTypePackParameter {',' GenericTypePackParameter}
|
||||
|
|
Loading…
Reference in New Issue