Skip to content

Commit 2916b13

Browse files
committed
fix(ts): fix some type error issues
1 parent 7bea9c7 commit 2916b13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chapi-ast-typescript/src/main/antlr/TypeScriptParser.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ parenthesizedTypeRef
183183
;
184184

185185
parameterizedTypeRef
186-
: typeName typeArguments?
186+
: typeName ('?' | '!')? typeArguments?
187187
;
188188

189189
typeName

0 commit comments

Comments
 (0)