undefined type, function parameters
when a param in a function interface has this signature:
failed: (
job: Job | undefined,
error: Error,
prev: string,
) => void;
job parameter should appear with both possibilities in our docs, (Job | undefined)
undefined type is avoided when the documentation is generated. Only Job appears
Add a param in a function with a similar signature as previous example.
You probably have strictNullChecks turned off - in which case Job | undefined
is equivalent to Job
according to the compiler. I can't reproduce this with strict turned on. https://github.com/TypeStrong/typedoc-repros/actions/runs/4266319079
Owner Name | TypeStrong |
Repo Name | typedoc |
Full Name | TypeStrong/typedoc |
Language | TypeScript |
Created Date | 2014-05-24 |
Updated Date | 2023-03-19 |
Star Count | 6487 |
Watcher Count | 68 |
Fork Count | 639 |
Issue Count | 48 |
Issue Title | Created Date | Updated Date |
---|