Print() Doesn't exist on HttpLink type

Hi all! I have been using apollo for 3 years but only now starting to look into the Apollo Client side of things.
Use-Case: we need to strip the whitespaces from the http queries, and was hoping to do so using this example Advanced HTTP networking - Client (React) - Apollo GraphQL Docs

Expected behavior: print method is overriden
Actual behavior: print is not recognized as a valid option for the HttpLink constructor, even if we override types in typegraphql, print function I’m passing is being ignored completely.

We’re using @apollo/client v3.4.17


It was the version, needed >3.5 :upside_down_face: