mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
chore: reformat SDK utility files
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user