all types are declared as optional
Closed this issue · 3 comments
sedghi commented
I'm facing a strange behaviour where all the type properties are declared as optional even if they are mandatory. Here is one of my type aliases (it happens for all of them actually)
type Metadata = {
BitsAllocated: number
BitsStored: number
SamplesPerPixel: number
HighBit: number
PhotometricInterpretation: string
PixelRepresentation: number
}
which renders to
although I have noticed that option flag does not appear when minimal=false
, so it is just the header that is wrong. I noticed it only happens for type aliases not interfaces
sedghi commented
I can confirm function arguments are fine, this is only happening for types
milesj commented
Fixed in the latest version
sedghi commented
Amazing