You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting below error trying to compile code. There are some typings missing or I'm using incompatible versions?
node_modules/awilix-koa/lib/invokers.d.ts(1,10): error TS2305: Module '"node_modules/awilix/lib/awilix"' has no exported member 'Registration'.
node_modules/awilix-koa/lib/invokers.d.ts(1,24): error TS2305: Module '"node_modules/awilix/lib/awilix"' has no exported member 'RegistrationOptions'.
As as side note I had to manually add "@types/glob": "^5.0.33", into dev dependencies - it seems awilix is not pulling it as dependency an TS is whining about it.
Please let me know if you need any additional information.
The text was updated successfully, but these errors were encountered:
Hi! The Registration typing is definitely an issue and will be fixed when v3 is fully released, but most people disable library type checking which I recommend you do as well. skipLibCheck: true TypeScript option.
The glob types issue will also resolve itself if you skip library checking. I dont want to ship type dependencies.
I'm getting below error trying to compile code. There are some typings missing or I'm using incompatible versions?
package.json
Container configuration
Using container in koa app
As as side note I had to manually add
"@types/glob": "^5.0.33",
into dev dependencies - it seems awilix is not pulling it as dependency an TS is whining about it.Please let me know if you need any additional information.
The text was updated successfully, but these errors were encountered: