# Typed graphql-js

The type definition for [`graphql-js`](https://github.com/graphql/graphql-js).

## Install using npm for Typescript 2

```bash
npm install --save-dev typed-graphql
```

## Install latest using npm for Typescript 2

```bash
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](https://www.npmjs.com/package/typings)

```bash
typings install --save github:nitintutlani/typed-graphql
```

## Usage

Follow these reference links for more information:

  [Typings project](https://www.npmjs.com/package/typings)

  [tsconfig.json documentation](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)

  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.

## License

MIT
