Missing types!
Bundas opened this issue · 2 comments
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? :)
@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.
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"
}
}