Add pl.Trainer types
Docs fail if we add them.
Probably the TYPE_CHECKING variable needs to be injected
Context

Try this:

that is what I already had in f9959a3 but as I say docs were failing
Originally posted by @Borda in #5919 (comment)