You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The typedoc generation fails with v0.19.2 when a custom module name generation mapper is used because it's assumed that the rootFileNames would always be a non-empty array.
The root path auto-detection code assumed you used files in your tsconfig.json and didn't account for includes syntax.
This fix should fall back to using the current directory instead when includes is used.
The
typedoc
generation fails with v0.19.2 when a custom module name generation mapper is used because it's assumed that therootFileNames
would always be a non-empty array.typedoc-plugin-external-module-name/typedoc-plugin-external-module-name.ts
Line 103 in 5af43c4
There's no such expectation in the method definition in though - check getRootFileNames method (taken from Typescript)
As a result, the function breaks unexpectedly when there are no
rootFileNames
The solution might be fiddlier than it seems, but adding an empty array check on this line prevents unexpected errors for now.
The text was updated successfully, but these errors were encountered: