Skip to content

Fix clodule with subclass #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 3, 2019

Conversation

NaridaL
Copy link
Contributor

@NaridaL NaridaL commented Oct 6, 2018

Should fix #869

context.withScope(reflection, () => {
if (parent instanceof ProjectReflection && !context.isDeclaration &&
(!module || module.valueOf() === ts.ModuleKind.None.valueOf())) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

module referred to the @types/node global. ts.ModuleKind is used only as the compilerOptions type as far as I can see. And valueOf?!

@aciccarello aciccarello merged commit e2138dc into TypeStrong:master Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeDoc treats module merged with superclass as a child of a subclass
2 participants