express-graphql-typescript-boilerplate icon indicating copy to clipboard operation
express-graphql-typescript-boilerplate copied to clipboard

Missing types!

Open Bundas opened this issue 7 years ago • 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 avatar Dec 17 '17 19:12 Bundas

@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.

mateothegreat avatar Mar 23 '18 03:03 mateothegreat

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" } }

Reak45 avatar Mar 26 '18 18:03 Reak45