Skip to content

[Typescript] no exported member 'listModules' #76

@TdyP

Description

@TdyP

Hi!
I would like to use Awilix in a Typescript project.
I'm trying to import the listModules function:

import {listModules} from 'awilix';

But getting an error:

src/DepsManager.ts(2,43): error TS2305: Module '"[....]/node_modules/awilix/lib/awilix"' has no exported member 'listModules'.

Is it a problem with my import or something missing in types declaration?

Thanks for your help! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions