Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>graphql-schema-to-typescriptNew to Visual Studio Code? Get it now.
graphql-schema-to-typescript

graphql-schema-to-typescript

liyikunl

|
1,128 installs
| (1) | Free
Simple Generate a typescript interface based on your graphql type
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-graphql-schema-to-typescript

extends by https://github.com/dangcuuson/graphql-schema-typescript

test

Future

Simple Generate a typescript interface based on your graphql type

Configuration

config

config file example

    {
        "defaultDef": "scalar JSON type Query { json: JSON }",
        "typeDefsDecoration": "/** ==== defs types ==== */",
        "typeResolversDecoration": "/** ==== resolvers types ==== *",
        "jsDoc": "/** This file is auto-generated */"
    }

object code

support output defs types or resolvers types and all

Other Config

  • options: see GenerateTypescriptOptions
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft