ionic-team / ionic-team/capacitor-docgen

bug: naming conflicts are not handled correctly

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.