Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript Gatsby's files #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Giggiux
Copy link

@Giggiux Giggiux commented Nov 6, 2020

Implemented necessary changes to gatsby-config.js in order to use typescript types, modules, and functions in gatsby's configuration files (gatsby-node, gatsby-ssr, gatsby-config, gatsby-browser).

Used instructions from JohnAlbin's gits: https://gist.github.com/JohnAlbin/2fc05966624dffb20f4b06b4305280f9

I was using greater-gatsby's starter when I had to use one of my utilities function from a TS file to create a page's path from a query I had, but the module's import first and TS's types then made me change to this PR's setup.

I believe if the repo should be "typescript's ready", it needs this update :)

…typescript types, modules, and functions in gatsby's configuration files.

Used instructions from JohnAlbin's gits: https://gist.github.com/JohnAlbin/2fc05966624dffb20f4b06b4305280f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant