ionic-team / ionic-team/capacitor-docgen
bug: naming conflicts are not handled correctly
Open
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
If a plugin were to use a type name that's being used by Capacitor itself already, this script will overwrite the type definition from the plugin by the definition from Capacitor. Take for example `SystemBarsVisibilityOptions`. If the community safe area plugin uses that name, the docgen will generate incorrect output for the safe area plugin, by overwriting the definition with [this one](https://github.com/ionic-team/capacitor/blob/196b642236d293a5012e3c307fcd942766e56cce/core/src/core-plugins.ts#L572)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.