mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
chore: prefer top-level type import
Prepare for TypeScript 5.0 verbatimModuleSyntax option
This commit is contained in:
parent
2c5282bc41
commit
6f1be248fb
81 changed files with 345 additions and 404 deletions
|
@ -1,17 +1,18 @@
|
|||
import { PromiseResolver } from "@yume-chan/async";
|
||||
import type { ReadableWritablePair } from "@yume-chan/stream-extra";
|
||||
import {
|
||||
AbortController,
|
||||
DecodeUtf8Stream,
|
||||
GatherStringStream,
|
||||
WritableStream,
|
||||
type ReadableWritablePair,
|
||||
} from "@yume-chan/stream-extra";
|
||||
|
||||
import type { AdbCredentialStore } from "./auth.js";
|
||||
import {
|
||||
ADB_DEFAULT_AUTHENTICATORS,
|
||||
AdbAuthenticationProcessor,
|
||||
type AdbCredentialStore,
|
||||
} from "./auth.js";
|
||||
import type { AdbFrameBuffer } from "./commands/index.js";
|
||||
import {
|
||||
AdbPower,
|
||||
AdbReverseCommand,
|
||||
|
@ -21,21 +22,16 @@ import {
|
|||
escapeArg,
|
||||
framebuffer,
|
||||
install,
|
||||
type AdbFrameBuffer,
|
||||
} from "./commands/index.js";
|
||||
import { AdbFeatures } from "./features.js";
|
||||
import {
|
||||
AdbCommand,
|
||||
calculateChecksum,
|
||||
type AdbPacketData,
|
||||
type AdbPacketInit,
|
||||
} from "./packet.js";
|
||||
import {
|
||||
AdbPacketDispatcher,
|
||||
type AdbIncomingSocketHandler,
|
||||
type AdbSocket,
|
||||
type Closeable,
|
||||
import type { AdbPacketData, AdbPacketInit } from "./packet.js";
|
||||
import { AdbCommand, calculateChecksum } from "./packet.js";
|
||||
import type {
|
||||
AdbIncomingSocketHandler,
|
||||
AdbSocket,
|
||||
Closeable,
|
||||
} from "./socket/index.js";
|
||||
import { AdbPacketDispatcher } from "./socket/index.js";
|
||||
import { decodeUtf8, encodeUtf8 } from "./utils/index.js";
|
||||
|
||||
export enum AdbPropKey {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue