Skip to content

Commit 0678212

Browse files
committed
lint
1 parent 1b4d38e commit 0678212

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/event-engine/dispatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class EventEngineDispatcher extends Dispatcher<effects.Effects, Dependenc
7777

7878
this.on(
7979
effects.emitEvents.type,
80-
asyncHandler( async (payload, _, { emitEvents }) => {
80+
asyncHandler(async (payload, _, { emitEvents }) => {
8181
if (payload.length > 0) {
8282
emitEvents(payload);
8383
}

src/event-engine/presence/effects.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ export const delayedHeartbeat = createManagedEffect(
2020
(context: HeartbeatReconnectingStateContext) => context,
2121
);
2222

23-
export type Effects = MapOf<typeof heartbeat | typeof leave | typeof emitStatus |typeof wait | typeof delayedHeartbeat>;
23+
export type Effects = MapOf<
24+
typeof heartbeat | typeof leave | typeof emitStatus | typeof wait | typeof delayedHeartbeat
25+
>;

src/event-engine/presence/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const left = createEvent('LEFT', (channels: string[], groups: string[]) =
1616

1717
export const leftAll = createEvent('LEFT_ALL', () => ({}));
1818

19-
export const heartbeatSuccess = createEvent('HEARTBEAT_SUCCESS', (statusCode: number) => ({ statusCode}));
19+
export const heartbeatSuccess = createEvent('HEARTBEAT_SUCCESS', (statusCode: number) => ({ statusCode }));
2020

2121
export const heartbeatFailure = createEvent('HEARTBEAT_FAILURE', (error: PubNubError) => error);
2222

0 commit comments

Comments
 (0)