Skip to content

Commit

Permalink
fix(ts): fix some type error issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 17, 2022
1 parent 7bea9c7 commit 2916b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapi-ast-typescript/src/main/antlr/TypeScriptParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ parenthesizedTypeRef
;

parameterizedTypeRef
: typeName typeArguments?
: typeName ('?' | '!')? typeArguments?
;

typeName
Expand Down

0 comments on commit 2916b13

Please sign in to comment.