Open rodrigooler opened 5 years ago
have you tried adding this to your tsconfig.json compilerOptions?
"allowSyntheticDefaultImports": true,
@grsabreu same problem.
{
"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