Update src/worker/worker-options.ts
authorAlessandro Pio Ardizio <alessandroardizio94@gmail.com>
Tue, 16 Feb 2021 10:22:21 +0000 (11:22 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Feb 2021 10:22:21 +0000 (11:22 +0100)
Co-authored-by: Shinigami <chrissi92@hotmail.de>
src/worker/worker-options.ts

index b704dced3ec8b41fc41570cc6f599f16cab9f6e4..4e38c296bd15d4569687ff28d1f501e1d320db3e 100644 (file)
@@ -35,5 +35,5 @@ export interface WorkerOptions {
    *
    * @default SOFT
    */
-  killBehavior?: string
+  killBehavior?: 'HARD' | 'SOFT'
 }