Skip to content

Commit 075e368

Browse files
committed
add docs for the options
1 parent 5785b5a commit 075e368

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/types/master.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ export interface ThreadsWorkerOptions extends WorkerOptions {
8989
}
9090

9191
export interface CreateWorkerOptions extends ThreadsWorkerOptions {
92-
backend: string
92+
/** backend for the threads */
93+
backend: "web" | "node" | "tiny"
94+
/** flag to return a BlobWorker */
9395
blob: boolean
9496
}
9597

0 commit comments

Comments
 (0)