In my case, in monorepo, I had different versions of type-graphql installed in the server app and a library containing model classes.
type-graphql