convert a graphql schema to a typescript definition
Switch branches/tags
Clone or download
mikfoo and brettjurgens Support nullable arrays (#230)
* Initial work on supporting nullable arrays

* Clean up nullable array work

* Update from-schema-test snapshot

* Remove unused import

* Simplify variable name

* Simplify isNonNull logic and add newline before return
Latest commit d3abc32 Sep 19, 2018

Readme.md

GQL2TS

Greenkeeper badge

npm version TravisCI Build Status AppVeyor Build status Coveralls Coverage

# for CLI
npm install -g gql2ts

# for programmatic use
npm install @gql2ts/from-query
npm install @gql2ts/from-schema

See the packages directory for package Readmes.

packages/cli                  # gql2ts CLI
packages/from-query           # @gql2ts/from-query
packages/from-schema          # @gql2ts/from-schema
packages/language-flow        # @gql2ts/language-flow
packages/language-typescript  # @gql2ts/language-typescript
packages/types                # @gql2ts/types
packages/util                 # @gql2ts/util