Missing error for trailing comma in dynamic import arguments #29545
Labels
Bug
A bug in TypeScript
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
TypeScript Version: 3.3.0-dev.20190119
Search Terms:
Code
Expected behavior:
Error on the trailing comma as the spec/proposal currently disallows it: tc39/proposal-dynamic-import#15
Actual behavior:
No grammar error, instead this results in a parse error when executed after transpiling with
module: ESNext
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: