backend: fix types in boot/{master, worker}.ts #128
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/backend-boot-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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');
You could also use optional chaining for function calls here if you want, i.e.
5ab7c7bdc5
to29c7e7e859