Skip to content

Exported default function types not correct #18

@vasco-santos

Description

@vasco-santos

This module exports the default as not a function, which results on projects trying to compile typescript using this module as

Type 'typeof import("/home/trout/tmp/js-libp2p/node_modules/private-ip/lib/index")' has no call signatures.

Ref libp2p/js-libp2p#1019

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions