Skip to content

Injecting providers #1420

Answered by thetutlage
iammrsea asked this question in Help
Aug 8, 2020 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Coz typescript has no idea that a module named @ioc:Adonis/Addons/ImageService exists. You have to define it using an ambient module.

Also check the source code of AdonisJS packages to see how ambient modules are defined

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@msrumon
Comment options

@thetutlage
Comment options

@iammrsea
Comment options

Answer selected by iammrsea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants