My experience has been that developers say that they’ll share types between the frontend and backend, and then in practice they just duplicate it.