Importer: (moduleIdentifier: string, options?: ImportCallOptions) => any
Type Declaration
-
- (moduleIdentifier: string, options?: ImportCallOptions): any
-
Parameters
- moduleIdentifier: string
Optionaloptions: ImportCallOptions
Returns any
The imported module
Function type for importing modules in the context of an AdonisJS application. This function is called whenever AdonisJS needs to import a module from a string identifier.