-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript - TypeError: Cannot read property 'createResolver' of undefined #48
Comments
have you tried adding this to your tsconfig.json compilerOptions?
|
@grsabreu same problem. tsconfig.json{
"compilerOptions": {
"target": "es5",
"lib": ["es6"],
"module": "commonjs",
// "noImplicitAny": true, // will raise several errors
"alwaysStrict": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,
"outDir": "dist",
"allowSyntheticDefaultImports": true,
},
"include": [ "**/*" ],
"exclude": [
"dist/*",
"node_modules",
"**/*.spec.ts"
]
} |
Do you have any idea what this problem might be @thebigredgeek? I practically followed the details of the README.md but the only difference is that I am using typescript in the latest version |
Huh no clue. it almost looks like something is overriding the value? |
is this fixed ? |
Let me take a look, apologies i've been busy bootstrapping my company! |
The following error is occurring when trying to use apollo-resolvers with typescript, I noticed that several people were having the same problem and I decided to open the issue, more details below.
Error
resolvers
userResolvers
package.json
The text was updated successfully, but these errors were encountered: