Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

fix: ts declaration export #150

Merged
merged 1 commit into from
Sep 3, 2021
Merged

Conversation

vasco-santos
Copy link
Member

Closes #149

New build looks like:

export = TCPWithIs;
declare const TCPWithIs: any;
declare namespace TCPWithIs {
    export { Multiaddr, Connection, Upgrader, Listener, Socket };
}
type Multiaddr = import('multiaddr').Multiaddr;
type Connection = import("libp2p-interfaces/src/connection/connection");
type Upgrader = import('libp2p-interfaces/src/transport/types').Upgrader;
type Listener = import('libp2p-interfaces/src/transport/types').Listener;
type Socket = import('net').Socket;
//# sourceMappingURL=index.d.ts.map

@vasco-santos vasco-santos merged commit d165fe5 into master Sep 3, 2021
@vasco-santos vasco-santos deleted the fix/ts-declaration-export branch September 3, 2021 06:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lodestar build broken due to export = _exports
1 participant