The type definition for graphql-js
.
npm install --save-dev typed-graphql
npm install --save-dev git://github.com/nitintutlani/typed-graphql#master
Add this to a typings.d.ts file.
/// <reference types="typed-graphql" />
Install using typings
typings install --save github:nitintutlani/typed-graphql
Follow these reference links for more information:
Make sure your typescript compatible code editor, linter and tsc compiler are able to reach out to typings/index.d.ts
to resolve related references.
MIT