liyikun / vscode-graphql-schema-typescript

Simple Generate a typescript interface based on your graphql type

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple Generate a typescript interface based on your graphql type


Languages

Language:TypeScript 100.0%