Skip to content

Commit 8fdac9b

Browse files
committed
fix comments
1 parent ed381f5 commit 8fdac9b

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

libs/sdk/src/backend/utils.ts

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,21 @@ export class BackendEventSource {
2626
});
2727
}
2828

29-
protected getLogger = curry((name: string, event: ADCSDK.BackendEvent) => {
30-
this._innerSubject.next({ name, event });
31-
});
29+
protected getLogger: (
30+
name: string,
31+
) => (event: ADCSDK.BackendEvent) => void = curry(
32+
(name: string, event: ADCSDK.BackendEvent) => {
33+
this._innerSubject.next({ name, event });
34+
},
35+
);
3236

33-
protected taskStateEvent = curry(
37+
protected taskStateEvent: (
38+
name: string,
39+
) => (
40+
type:
41+
| typeof ADCSDK.BackendEventType.TASK_START
42+
| typeof ADCSDK.BackendEventType.TASK_DONE,
43+
) => ADCSDK.BackendEvent = curry(
3444
(
3545
name: string,
3646
type:

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ catalogMode: strict
2525

2626
minimumReleaseAge: 1440
2727

28+
strictPeerDependencies: false
29+
autoInstallPeers: true
2830
publicHoistPattern:
2931
- "@types/*"

0 commit comments

Comments
 (0)