style: format code with consistent spacing and line breaks

This commit is contained in:
Jason
2025-10-30 15:31:08 +08:00
parent 8e4a0a1bbb
commit 55223bdd46
11 changed files with 37 additions and 34 deletions

View File

@@ -8,10 +8,7 @@ import type { CustomEndpoint, ProviderMeta } from "@/types";
*/
export function mergeProviderMeta(
initialMeta: ProviderMeta | undefined,
customEndpoints:
| Record<string, CustomEndpoint>
| null
| undefined,
customEndpoints: Record<string, CustomEndpoint> | null | undefined,
): ProviderMeta | undefined {
const hasCustomEndpoints =
!!customEndpoints && Object.keys(customEndpoints).length > 0;