mirror of
https://github.com/morluto/rea.git
synced 2026-11-09 00:07:18 +00:00
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:
1 parent
6ce5903e7a
commit
86fab11fbe
16 files changed
+498
-48
No files matched your search
@@ -7,6 +7,7 @@ import type {
|
||||
|
||||
/** One exact module origin followed through imports, requires, or aliases. */
|
||||
export interface JavaScriptModuleOrigin {
|
||||
readonly resolutionMode?: "import" | "require";
|
||||
readonly specifier: string;
|
||||
readonly importedPath: readonly string[];
|
||||
}
|
||||
@@ -392,8 +393,10 @@ export interface JavaScriptSemanticFrontier {
|
||||
|
||||
/** Static import/export relationship retained for cross-file composition. */
|
||||
export interface JavaScriptSemanticModuleLink {
|
||||
readonly resolutionMode?: "import" | "require";
|
||||
readonly kind:
|
||||
| "import"
|
||||
| "type-import"
|
||||
| "require"
|
||||
| "export"
|
||||
| "re-export"
|
||||
|
||||
Reference in new issue
Block a user