mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
Drive-by: fixing the presubmit Fixed: 343248814 Change-Id: I3ec86edbe2ce3d6e7b6a310827b5b5fb0b09c626 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5720898 Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>
15 lines
486 B
TypeScript
15 lines
486 B
TypeScript
declare const PACKET_TYPES: any;
|
|
declare const PACKET_TYPES_REVERSE: any;
|
|
declare const ERROR_PACKET: Packet;
|
|
export { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };
|
|
export type PacketType = "open" | "close" | "ping" | "pong" | "message" | "upgrade" | "noop" | "error";
|
|
export type RawData = any;
|
|
export interface Packet {
|
|
type: PacketType;
|
|
options?: {
|
|
compress: boolean;
|
|
};
|
|
data?: RawData;
|
|
}
|
|
export type BinaryType = "nodebuffer" | "arraybuffer" | "blob";
|