* Fix TypeScript parsers missing token check (#9571) * fix unit test
This commit is contained in:
committed by
Nicolò Ribaudo
parent
0b01b5217b
commit
9f3457797f
@@ -86,7 +86,8 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
!this.match(tt.parenR) &&
|
||||
!this.match(tt.colon) &&
|
||||
!this.match(tt.eq) &&
|
||||
!this.match(tt.question)
|
||||
!this.match(tt.question) &&
|
||||
!this.match(tt.bang)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user