mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-22 06:11:46 +00:00
add some babel config
This commit is contained in:
15
src/@types/it-pb-rpc/index.d.ts
vendored
15
src/@types/it-pb-rpc/index.d.ts
vendored
@ -1,15 +0,0 @@
|
||||
declare module "it-pb-rpc" {
|
||||
import { Buffer } from "buffer";
|
||||
import { Duplex } from "it-pair";
|
||||
type WrappedDuplex = {
|
||||
read(bytes?: number): Promise<Buffer>;
|
||||
readLP(): Promise<Buffer>;
|
||||
write(input: Buffer): void;
|
||||
writeLP(input: Buffer): void;
|
||||
unwrap(): Duplex;
|
||||
}
|
||||
|
||||
function Wrap (duplex: any): WrappedDuplex;
|
||||
|
||||
export = Wrap;
|
||||
}
|
Reference in New Issue
Block a user