im curios about an typescript (or maybe angular) error, that i dont fully unterstand. When using the date pipe with timezone parameter and no format:
{{ dateString | date:undefined:'+0430' }}
im getting the following error:
Argument type undefined is not assignable to parameter type string | undefined
Type undefined is not assignable to type string
According to other stackoverflow anwsers, passing undefined to skip an argument should be fine