Skip to content

Missing reference occurrence for property in object literal #189

Open
@olafurpg

Description

@olafurpg

Following up from @varungandhi-src in https://github.com/sourcegraph/scip-typescript/pull/185/files#r998840389

export function foo(): Promise<{ member: number }> {
  return Promise.resolve({ member: 42 })
//                         ^^^^^^ should ideally be a reference to the structural type
}

This doesn't work with tsserver so it's not a high priority to get it working with scip-typescript, but it would be nice if it worked!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions