v0.4.0
Features
- Enable
strictNullChecks
per default when creating TypeScript compiler program. This allow exporting parameters and results that unionsnull
orundefined
.
For example:
/**
* Markdown should handle ` | ` for the type.
*/
export const genericType = <T>(value: [] | [T]): T | undefined => value?.[0];
Previously did not parsed the result | undefined
in the resulting documentation.