DTO comes from OOP for which Java is the poster child.
But you can find it many places.
https://codewithstyle.info/typescript-dto/
Why is Java the poster child of OO when c++ was literally c with classes