typedoc-plugin-markdown
typedoc-plugin-markdown copied to clipboard
Namespace and class with same name
For typedoc-github-wiki-theme
If a namespace and class have the same name e.g.
export class Duck {
public age: Duck.Age;
}
export namespace Duck {
export type Age: number;
}
This causes the namespace to not be available in the docs. Maybe URL should contain what type it is? Like /wiki/class-Duck
or /wiki/Duck-class
.
Example of behavior is here:
- https://github.com/S222em/hue.ts/wiki/Exports
Oh I see - because of the flat structure types with same name are getting overridden. I agree the solution here is to prepend the type. Thanks - will sort it.