Description
Search terms
Class Hierarchy
Question
First of all, thank you so much for this wonderful library! It helps us a lot in documenting the API of our library. ❤️
We have a class in the library that extends the EventTarget
class from the web platform API. That means that EventTarget
is not defined in our library.
export default class Backend extends EventTarget {...}

When I try to view the entire class hierarchy, I can't see any expected (backend) classes.

However, if I remove the EventTarget
class, I can see the correct class hierarchy.

I can't eliminate EventTarget
for obvious reasons to get the desired class hierarchy. Is there a way to ask TypeDoc to ignore the classes defined in other places and generate the correct class hierarchy, e.g., by stopping on the classes it doesn't know? Or is there a way to “teach” TypeDoc to handle the EventTarget
class (or any platform-specific class) correctly? Or is there anything I'm doing wrong?
If it might help, our project is written in vanilla JS. And here is our typedoc.json
file.
{
"name": "Madata API",
"compilerOptions": {
"allowJs": true,
"skipLibCheck": true,
},
"plugin": [
"typedoc-plugin-merge-modules",
],
"mergeModulesRenameDefaults": true,
"mergeModulesMergeMode": "module",
"entryPoints": [
"src/*.js",
"backends/index.js",
"formats/index.js",
],
"exclude": [
"src/node-shims.js",
],
"excludeReferences": true,
"navigation": {
"includeCategories": true,
"includeFolders": false,
},
"readme": "API.md",
"out": "api",
"customCss": "api.css",
}
I would be grateful for any help!
Regards,
Dmitry