3.0.4 • Published 6 months ago
@types/post-message-stream v3.0.4
Installation
npm install --save @types/post-message-stream
Summary
This package contains type definitions for post-message-stream (https://github.com/baalexander/node-portscanner).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/post-message-stream.
index.d.ts
// Type definitions for post-message-stream 3.0
// Project: https://github.com/baalexander/node-portscanner
// Definitions by: Douglas Duteil <https://github.com/douglasduteil>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Duplex } from "readable-stream";
declare class PostMessageStream extends Duplex {
_name: string;
_target: string;
_targetWindow: Window;
_origin: string;
_init: boolean;
_haveSyn: boolean;
constructor(props: {
name: string;
target: string;
targetWindow?: Window | undefined;
});
_write(
data: any,
_encoding: BufferEncoding,
cb: () => void
): void;
}
export = PostMessageStream;
Additional Details
- Last updated: Thu, 08 Jul 2021 20:19:43 GMT
- Dependencies: @types/readable-stream
- Global values: none
Credits
These definitions were written by Douglas Duteil.