Skip to content

Conversation

@canonic-epicure
Copy link
Contributor

This PR improves the --excludeNotDocumented behavior - it always includes all properties of the object type, if it has documentation (even if the properties do not have docs).

This seems to be an expected behavior for objects, which are used to document various structures in code, for example:

/**
 * Result type of `someMethod` (Object type has docs)
 */
export type SomeMethodResult = { noErrors : boolean, results : [] }

This behavior does not apply for classes/interfaces - for those if the property is not documented it is not included.

@Gerrit0 Gerrit0 merged commit e553af2 into TypeStrong:master Jun 28, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jun 28, 2020

Thanks! Should have a release later today.

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.

2 participants