How To Check Empty Object In Typescript