Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

Missing types! #7

Open
Bundas opened this issue Dec 17, 2017 · 2 comments
Open

Missing types! #7

Bundas opened this issue Dec 17, 2017 · 2 comments

Comments

@Bundas
Copy link

Bundas commented Dec 17, 2017

Hey folks, I've noticed (actually my compiler did) there are some types missing. For example GraphQLFieldDefinition, GraphQLFieldDefinitionMap and GraphQLFieldResolveFn.

They are imported from graphql package but there are none of them, actually. Also, I didn't find any type augmentations related to these types. Soo, my question is: where are the types coming from? :)

@mateothegreat
Copy link
Contributor

@Bundas Have you tried upgrading ts-node in general?

Also, can you please paste your package.json as I'm not able to reproduce this issue.

@Reak45
Copy link

Reak45 commented Mar 26, 2018

Yeah, I have this issue too. Missing GraphQLFieldDefinition :(

Here are my dependancies:
"dependencies": {
"body-parser": "^1.18.2",
"express": "^4.16.3"
},
"devDependencies": {
"@types/body-parser": "^1.16.8",
"@types/errorhandler": "0.0.32",
"@types/express": "^4.11.1",
"@types/express-graphql": "0.0.37",
"@types/graphql": "^0.12.6",
"clean-webpack-plugin": "^0.1.19",
"errorhandler": "^1.5.0",
"express-graphql": "^0.6.12",
"graphql": "^0.13.2",
"nodemon": "^1.17.2",
"ts-loader": "^4.1.0",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"typescript": "^2.7.2"
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants