Closed
Description
TypeScript Version: 2.2.1
Code
Format the following code snippet using VS Code or typescript-formatter:
someVar
.chain(
'arg1',
'arg2',
)
.chain(
3,
4,
);
Expected behavior:
someVar
.chain(
'arg1',
'arg2',
)
.chain(
3,
4,
);
Actual behavior:
someVar
.chain(
'arg1',
'arg2',
)
.chain(
3,
4,
);
This is a common occurrence with fluent APIs (test frameworks, ORMs, etc) and tslint rules requiring trailing comma.