chore: reformat SDK utility files

This commit is contained in:
Aiden McClelland
2026-03-12 11:09:15 -06:00
parent effcec7e2e
commit efc12691bd
3 changed files with 29 additions and 18 deletions

View File

@@ -481,10 +481,14 @@ export function getOwnServiceInterface<Mapped>(
map?: (interfaces: ServiceInterfaceFilled | null) => Mapped,
eq?: (a: Mapped, b: Mapped) => boolean,
): GetServiceInterface<Mapped> {
return new GetServiceInterface<Mapped>(effects, { id }, {
map: map ?? ((a) => a as Mapped),
eq: eq ?? ((a, b) => deepEqual(a, b)),
})
return new GetServiceInterface<Mapped>(
effects,
{ id },
{
map: map ?? ((a) => a as Mapped),
eq: eq ?? ((a, b) => deepEqual(a, b)),
},
)
}
export function getServiceInterface(