Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Add check for Union array type. #37

Merged
merged 2 commits into from
Mar 10, 2017

Conversation

nicknisi
Copy link
Contributor

@nicknisi nicknisi commented Mar 9, 2017

This issue is detailed in TypeStrong/typedoc#292, and adds a isArray check around union types.

For some code to be documented:

export function regex(regexp: RegExp): string | number | (string | number)[] {
}

This fix produces the following output:

screen shot 2017-03-09 at 4 57 15 pm

@blakeembrey blakeembrey merged commit 9663376 into TypeStrong:master Mar 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants