Typescript Set Default Value If Null