Typescript transform now removes generic arguments from optional calls (Fixes #11813) (#11816)

This commit is contained in:
Rafael Salguero Iturrios 2020-07-09 17:32:05 -05:00 committed by GitHub
parent 55ce749f42
commit f32d5debda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -419,6 +419,10 @@ export default declare(
path.node.typeParameters = null;
},
OptionalCallExpression(path) {
path.node.typeParameters = null;
},
NewExpression(path) {
path.node.typeParameters = null;
},