Typescript Does Not Exist On Type Object