Typescript Function Argument With Default Value For Input