christopherthielen / typedoc-plugin-internal-external

TypeDoc plugin: specify if a symbol is internal or external

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module types reflection is broken with this plugin

manrueda opened this issue · comments

If the code being documented has a structure like the this one (gist doesn't allow folder, so i mimic it with dashes (-) instead of (/)).

I think that the issue is here: https://github.com/christopherthielen/typedoc-plugin-external-module-name/blob/master/plugin.ts#L132, this line removes the declaration of the sub/index.ts module that is being imported in the index.ts file.

The type will get resolve as a absolute path because typedoc can not found that module anymore.

image