mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-05 15:18:23 -05:00
when formatting lists check if end list token still belongs to the parent node
This commit is contained in:
5
tests/cases/fourslash/formatEmptyParamList.ts
Normal file
5
tests/cases/fourslash/formatEmptyParamList.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
////function f( f: function){/*1*/
|
||||
goTo.marker("1");
|
||||
edit.insert("}");
|
||||
verify.currentLineContentIs("function f(f: function){ }")
|
||||
Reference in New Issue
Block a user