repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update dependencies
[poolifier.git]
/
src
/
utility-types.ts
diff --git
a/src/utility-types.ts
b/src/utility-types.ts
index d7f9d6a20e68d4c3da8481727714d51a04a4aef0..7ea86042ff796660b57410561bd1b57a2b9c8025 100644
(file)
--- a/
src/utility-types.ts
+++ b/
src/utility-types.ts
@@
-1,8
+1,9
@@
import type { Worker } from 'cluster'
import type { MessagePort } from 'worker_threads'
import type { Worker } from 'cluster'
import type { MessagePort } from 'worker_threads'
+import type { KillBehavior } from './worker/worker-options'
/**
/**
- * Make all properties in T non-readonly
+ * Make all properties in T non-readonly
.
*/
export type Draft<T> = { -readonly [P in keyof T]?: T[P] }
*/
export type Draft<T> = { -readonly [P in keyof T]?: T[P] }
@@
-42,7
+43,7
@@
export interface MessageValue<
/**
* Kill code.
*/
/**
* Kill code.
*/
- readonly kill?:
string | number
+ readonly kill?:
KillBehavior | 1
/**
* Error.
*/
/**
* Error.
*/