Open
Description
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!