style: 格式化 web 代码以满足 prettier 代码规范检查

This commit is contained in:
Danborad
2026-09-01 14:44:40 +08:00
parent b1076b9aa6
commit 2a5e0f0dc3
4 changed files with 129 additions and 84 deletions

View File

@@ -272,11 +272,7 @@ function collectLocalMediaKeys(value: unknown, set = new Set<string>()): string[
return [...set];
}
async function ensureRemoteResourceReferences<T>(
value: T,
uploaded = new Map<string, string>(),
onUploaded?: () => void,
): Promise<T> {
async function ensureRemoteResourceReferences<T>(value: T, uploaded = new Map<string, string>(), onUploaded?: () => void): Promise<T> {
if (!value || typeof value !== "object") return value;
if (Array.isArray(value)) {
const result: unknown[] = [];