mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 17:59:50 +02:00
fix: fix build errors
This commit is contained in:
parent
0af5280079
commit
4deb890b20
5 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
import type { AbortSignal } from "@yume-chan/stream-extra";
|
||||
import { ConcatStringStream, TextDecoderStream } from "@yume-chan/stream-extra";
|
||||
|
||||
import { AdbCommandBase } from "../base.js";
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
import type { MaybeConsumable, WritableStream } from "@yume-chan/stream-extra";
|
||||
import type {
|
||||
AbortSignal,
|
||||
MaybeConsumable,
|
||||
WritableStream,
|
||||
} from "@yume-chan/stream-extra";
|
||||
import { ReadableStream } from "@yume-chan/stream-extra";
|
||||
|
||||
import type { Adb, AdbSocket } from "../../../adb.js";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { PromiseResolver } from "@yume-chan/async";
|
||||
import type {
|
||||
AbortSignal,
|
||||
PushReadableStreamController,
|
||||
ReadableStream,
|
||||
WritableStreamDefaultWriter,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import type { MaybePromiseLike } from "@yume-chan/async";
|
||||
import type {
|
||||
AbortSignal,
|
||||
MaybeConsumable,
|
||||
ReadableStream,
|
||||
WritableStream,
|
||||
|
|
|
@ -28,6 +28,7 @@ export declare interface AbortSignal {
|
|||
* Remove an event listener that was previously added with {@link AbortSignal.addEventListener}.
|
||||
*/
|
||||
removeEventListener(type: "abort", listener: () => void): void;
|
||||
throwIfAborted(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue