style: 格式化 web 代码以满足 prettier 代码规范检查
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user