fix: fix build errors

This commit is contained in:
Simon Chan 2025-02-22 22:38:33 +08:00
parent 0af5280079
commit 4deb890b20
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
5 changed files with 9 additions and 1 deletions

View file

@ -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";

View file

@ -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";

View file

@ -1,5 +1,6 @@
import { PromiseResolver } from "@yume-chan/async";
import type {
AbortSignal,
PushReadableStreamController,
ReadableStream,
WritableStreamDefaultWriter,

View file

@ -1,5 +1,6 @@
import type { MaybePromiseLike } from "@yume-chan/async";
import type {
AbortSignal,
MaybeConsumable,
ReadableStream,
WritableStream,

View file

@ -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;
}
/**