DEV Community

Discussion on: My blog is proudly powered by Gatsby (with some super powers)

Collapse
 
nikoheikkila profile image
Niko Heikkilä

Nice! I'm working on migrating my Gatsby blog to Typescript as well since I have created a couple of quite complex components which I tend to break every other day. Next steps for me are extracting the theme to its own repository or submodule and starting to write posts in MDX (Markdown + JSX). ❤️

Can you share the steps you took to get types right with Apollo? Would be really helpful.

Collapse
 
scastiel profile image
Sebastien Castiel

Hi! To make it work with Apollo it's pretty easy actually:

The types will be generated into src/types folder :)