TypeScript Object is Possibly null

Object is Possibly null
TypeScript Error Image

TypeScript will peek an error message “object is possibly null or undefined”. Make sure to add/check the null conditional before accessing the object.


    if(first !== null){
        return (first + second)
    }