Typescript Optional Parameter Object Is Improperly Defined Benefit