missing printTypeDefinitions for CreateSchemaCustomizationArgs
See original GitHub issueDescription
For typescripts, actions
in CreateSchemaCustomizationArgs
is missing a declaration for printTypeDefinitions
Steps to reproduce
- Start a brand new typescript gatsby project.
- Add a function
export function createSchemaCustomization({ actions }:
): void {}in gatsby-node.ts (or import
CreateSchemaCustomizationArgs` in any ts files). - note that actions does not have
createSchemaCustomization
Expected result
Types for actions.createSchemaCustomization
should be present.
Actual result
Types for actions.createSchemaCustomization
are missing.
Environment
System: OS: macOS 10.15.7 CPU: (12) x64 Intel® Core™ i7-8850H CPU @ 2.60GHz Shell: 5.8 - /usr/local/bin/zsh Binaries: Node: 14.13.1 - ~/.nvm/versions/node/v14.13.1/bin/node npm: 6.14.8 - ~/.nvm/versions/node/v14.13.1/bin/npm Languages: Python: 2.7.16 - /usr/bin/python Browsers: Chrome: 86.0.4240.80 Firefox: 81.0.2 Safari: 14.0 npmPackages: gatsby: ^2.24.73 => 2.24.73 gatsby-image: ^2.4.21 => 2.4.21 gatsby-plugin-intl: ^0.3.3 => 0.3.3 gatsby-plugin-manifest: ^2.4.34 => 2.4.34 gatsby-plugin-offline: ^3.2.31 => 3.2.31 gatsby-plugin-react-helmet: ^3.3.14 => 3.3.14 gatsby-plugin-sharp: ^2.6.40 => 2.6.40 gatsby-plugin-styled-components: ^3.3.14 => 3.3.14 gatsby-plugin-ts-config: ^1.1.0 => 1.1.0 gatsby-plugin-typescript: ^2.4.21 => 2.4.21 gatsby-source-contentstack: ^2.2.11 => 2.2.11 gatsby-source-filesystem: ^2.3.34 => 2.3.34 gatsby-transformer-sharp: ^2.5.17 => 2.5.17
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Sure go ahead
I would like to give this a go