How To Define Object Type In Typescript