chore: prefer top-level type import

Prepare for TypeScript 5.0 verbatimModuleSyntax option
This commit is contained in:
Simon Chan 2023-02-23 15:59:32 +08:00
parent 2c5282bc41
commit 6f1be248fb
81 changed files with 345 additions and 404 deletions

View file

@ -1,13 +1,14 @@
import { PromiseResolver } from "@yume-chan/async";
import { type Disposable } from "@yume-chan/event";
import { type ValueOrPromise } from "@yume-chan/struct";
import type { Disposable } from "@yume-chan/event";
import type { ValueOrPromise } from "@yume-chan/struct";
import {
calculatePublicKey,
calculatePublicKeyLength,
sign,
} from "./crypto.js";
import { AdbCommand, type AdbPacketData } from "./packet.js";
import type { AdbPacketData } from "./packet.js";
import { AdbCommand } from "./packet.js";
import { calculateBase64EncodedLength, encodeBase64 } from "./utils/index.js";
export type AdbKeyIterable = Iterable<Uint8Array> | AsyncIterable<Uint8Array>;