mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-04 02:09:18 +02:00
feat: convert to Node.js compatible ES Module
This commit is contained in:
parent
730aac8da2
commit
d9212b4dac
94 changed files with 429 additions and 466 deletions
|
@ -2,10 +2,10 @@
|
|||
|
||||
import { AutoDisposable } from '@yume-chan/event';
|
||||
import Struct from '@yume-chan/struct';
|
||||
import type { AdbPacket } from '../packet';
|
||||
import type { AdbIncomingSocketEventArgs, AdbPacketDispatcher, AdbSocket } from '../socket';
|
||||
import { AdbBufferedStream } from '../stream';
|
||||
import { decodeUtf8 } from "../utils";
|
||||
import type { AdbPacket } from '../packet.js';
|
||||
import type { AdbIncomingSocketEventArgs, AdbPacketDispatcher, AdbSocket } from '../socket/index.js';
|
||||
import { AdbBufferedStream } from '../stream/index.js';
|
||||
import { decodeUtf8 } from "../utils/index.js";
|
||||
|
||||
export interface AdbReverseHandler {
|
||||
onSocket(packet: AdbPacket, socket: AdbSocket): void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue