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

Output type parameter default values #113

Merged
merged 1 commit into from Aug 28, 2020
Merged

Output type parameter default values #113

merged 1 commit into from Aug 28, 2020

Conversation

krisztianb
Copy link
Contributor

Since this PR was merged typedoc supports default values for type parameters. So why not show them in the docs?

The format is simply:

* A = TheType

with A being the type parameter and TheType the default type for that parameter and it looks like this:

Screenshot

I'm open for better ideas though.

@Gerrit0 Gerrit0 merged commit 006b682 into TypeStrong:master Aug 28, 2020
@Gerrit0
Copy link
Contributor

Gerrit0 commented Aug 28, 2020

Thanks!

@krisztianb krisztianb deleted the type-parameter-default branch August 29, 2020 16:55
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.

None yet

2 participants