mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Merge pull request #29216 from uniqueiniquity/multilineArgumentSpans
Give appropriate outlining span for array and object literals as args in call expression
This commit is contained in:
2 files changed
+15
-2
No files matched your search
@@ -102,5 +102,18 @@
|
||||
//////outline after a deeply nested node
|
||||
////class AfterNestedNodes[| {
|
||||
////}|]
|
||||
////// function arguments
|
||||
////function f(x: number[], y: number[])[| {
|
||||
//// return 3;
|
||||
////}|]
|
||||
////f(
|
||||
////// single line array literal span won't render in VS
|
||||
//// [|[0]|],
|
||||
//// [|[
|
||||
//// 1,
|
||||
//// 2
|
||||
//// ]|]
|
||||
////);
|
||||
|
||||
|
||||
verify.outliningSpansInCurrentFile(test.ranges(), "code");
|
||||
Reference in new issue
Block a user