We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a400e commit 882f55aCopy full SHA for 882f55a
packages/typescript-plugin/lib/requests/isRefAtLocation.ts
@@ -49,7 +49,7 @@ export function isRefAtLocation(
49
const type = checker.getTypeAtLocation(node);
50
const props = type.getProperties();
51
52
- return props.some(prop => prop.name === 'value');
+ return props.some(prop => prop.escapedName === 'value' && prop.flags & ts.SymbolFlags.Accessor);
53
54
function findPositionIdentifier(sourceFile: ts.SourceFile, node: ts.Node, offset: number) {
55
let result: ts.Node | undefined;
0 commit comments