Skip to content

Assign NodeModule to a type #20

@jackmellis

Description

@jackmellis

right now this will work:

jpex.resolve<NodeModule<'fs', typeof fs>>;

but this won't:

type Fs = NodeModule<'fs', typeof fs>;

jpex.resolve<Fs>();

As this is quite a verbose syntax, it'd be nice if you could assign it to another type first

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions