JS: More re-export logic to handle subclass export

This commit is contained in:
Asger F
2024-04-05 16:01:03 +02:00
parent f2ea88aa4c
commit 56ebe6c727
4 changed files with 28 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ typeModel
| (subclass).D.prototype.d | (subclass).D.prototype | Member[d] |
| upstream-lib | (reexport).func | ReturnValue |
| upstream-lib | reexport | Member[lib] |
| upstream-lib.Type | (subclass).D.prototype | |
| upstream-lib.XYZ | reexport | Member[x].Member[y].Member[z] |
| upstream-lib.XYZ | reexport | Member[xy].Member[z] |
summaryModel

View File

@@ -12,8 +12,6 @@ export class C extends B {
import * as upstream from "upstream-lib";
// TODO: needs to emit type model: [upstream.Type; (subclass).D.prototype; ""]
// The getAValueReachableFromSource() logic does not handle the base class -> instance step
export class D extends upstream.Type {
d() {}
}