Typescript Function Optional Argument With Default Value