docs: add example to printTypeDefinitions method (#27211)
docs: add example to printTypeDefinitions method (#27211)

* Add example to printTypeDefinitions method

* Update packages/gatsby/src/redux/actions/restricted.ts

Co-authored-by: Megan Sullivan <9dfe899fce67609ced7185d20de5125fb0168888@gmail.com>

* Requested changes

* Add comment to second example

Co-authored-by: Megan Sullivan <9dfe899fce67609ced7185d20de5125fb0168888@gmail.com>
gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby