Skip to content

Conversation

@robingenz
Copy link

Fixes #46

  • Excludes TypeScript standard library files (lib.dom.d.ts, lib.es2017.d.ts, etc.)
  • Excludes node_modules except @capacitor packages
  • Prevents internal DOM types (Event, EventTarget, EventListener, etc.) from appearing in generated documentation

@tafelnl
Copy link

tafelnl commented Dec 22, 2025

This is related to #58. But in that issue I actually do want to exclude @capacitor packages as well. Would there be a workaround for this? Or maybe we just also want to exclude @capacitor here, because those types are already defined in the core docs? Not sure..

@robingenz
Copy link
Author

robingenz commented Dec 22, 2025

@tafelnl I am currently using a patch. Feel free to copy it and adapt it.

EDIT: I would be willing to update my PR based on the feedback from the Capacitor team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: unused APIs from external dependencies are part of the output

2 participants