Skip to content

Commit 923f483

Browse files
committed
WIP
1 parent 13daae6 commit 923f483

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

snapshots/input/syntax/src/object-literals-arrow-function.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ export function genericArrowOption(): Option<Foobar>[] {
2929
}
3030

3131
export function genericArrow2(): Foobar[] {
32+
// navigation to `foobar` below does not work with tsserver or scip-java
33+
// because `map` is missing an explicit `map<Foobar>` annotation.
3234
return [1].map(n => ({ foobar: n + 1 }))
3335
}

src/FileIndexer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@ interface CallLikeExpressionWithArguments {
10091009
node: ts.CallLikeExpression
10101010
arguments: ts.NodeArray<ts.Expression>
10111011
}
1012+
10121013
function callLikeExpression(
10131014
node: ts.Node
10141015
): CallLikeExpressionWithArguments | undefined {

0 commit comments

Comments
 (0)