backend: fix types in boot/{master, worker}.ts #128

Merged
norm merged 1 commit from fix/backend-boot-types into main 2022-09-08 21:29:02 +00:00
Owner
No description provided.
norm added a new dependency 2022-09-08 05:39:00 +00:00
Johann150 approved these changes 2022-09-08 21:23:59 +00:00
Johann150 left a comment
Owner

Looks good to me.

Looks good to me.
@ -17,2 +16,3 @@
if (cluster.isWorker && process.send) {
// Send a 'ready' message to parent process
process.send!('ready');
process.send('ready');
Owner

You could also use optional chaining for function calls here if you want, i.e.

process.send?.('ready');
You could also use [optional chaining for function calls](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#optional_chaining_with_function_calls) here if you want, i.e. ```ts process.send?.('ready'); ```
norm marked this conversation as resolved
norm force-pushed fix/backend-boot-types from 5ab7c7bdc5 to 29c7e7e859 2022-09-08 21:28:27 +00:00 Compare
norm merged commit 714ce60980 into main 2022-09-08 21:29:02 +00:00
norm deleted branch fix/backend-boot-types 2022-09-08 21:29:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference: FoundKeyGang/FoundKey#128
No description provided.