mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
refactor: use ES private fields to replace TypeScript private accessors
This commit is contained in:
parent
b87d76ca6e
commit
d286a40c42
28 changed files with 434 additions and 442 deletions
|
@ -34,7 +34,7 @@ export type AdbPacket = (typeof AdbPacket)["TDeserializeResult"];
|
|||
* `AdvDaemonConnection#connect` will return a `ReadableStream<AdbPacketData>`,
|
||||
* allow each connection to encode `AdbPacket` in different methods.
|
||||
*
|
||||
* `AdvDaemonConnection#connect` will return a `WritableStream<AdbPacketInit>`,
|
||||
* `AdbDaemonConnection#connect` will return a `WritableStream<AdbPacketInit>`,
|
||||
* however, `AdbDaemonTransport` will transform `AdbPacketData` to `AdbPacketInit` for you,
|
||||
* so `AdbSocket#writable#write` only needs `AdbPacketData`.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue