fix(javascript): preserve import-equals declaration and export evidence (#2062)
* fix(javascript): retain TypeScript import-equals dependencies * test(mcp): align completion checks with warm provider state * fix(javascript): propagate require origins through exported aliases * fix(javascript): normalize equivalent CTS binding origins --------- Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
This commit is contained in:
@@ -54,7 +54,11 @@ export const semanticRequireOrigin = (
|
||||
return specifier === undefined
|
||||
? undefined
|
||||
: {
|
||||
origin: { specifier, importedPath: members.reverse() },
|
||||
origin: {
|
||||
specifier,
|
||||
importedPath: members.reverse(),
|
||||
resolutionMode: "require",
|
||||
},
|
||||
call: current,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user