Allow ts modifier names to be used as function argument names (#8030)
This commit is contained in:
@@ -79,6 +79,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
return (
|
||||
!this.hasPrecedingLineBreak() &&
|
||||
!this.match(tt.parenL) &&
|
||||
!this.match(tt.parenR) &&
|
||||
!this.match(tt.colon) &&
|
||||
!this.match(tt.eq) &&
|
||||
!this.match(tt.question)
|
||||
|
||||
Reference in New Issue
Block a user