Typedoc: Don't show superfluous undefined in optional properties

Created on 4 Mar 2021  路  2Comments  路  Source: TypeStrong/typedoc

Search terms

undefined optional parameter

Actual Behavior

After upgrading Typedoc to the latest version (this happens on 0.20.6 and up), Typedoc is showing the undefined value also for parameters which are already marked as optional with ?. This makes the parameters section much more clustered and difficult to read:

image

Expected Behavior

I would like an option to disable this behaviour, and make it look like it was originally (this is version 0.20.1):

image

Environment

  • Typedoc version: 0.20.6 and up
bug

All 2 comments

This is behaving as expected for parameters but not for properties (note how options doesn't have a | undefined)

Fixed in 0.20.30

Was this page helpful?
0 / 5 - 0 ratings