Skip to content

Commit 8b47031

Browse files
committed
add docs for the options
1 parent 7c6139f commit 8b47031

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
@@ -86,7 +86,9 @@ export interface ThreadsWorkerOptions extends WorkerOptions {
8686
}
8787

8888
export interface CreateWorkerOptions extends ThreadsWorkerOptions {
89-
backend: string
89+
/** backend for the threads */
90+
backend: "web" | "node" | "tiny"
91+
/** flag to return a BlobWorker */
9092
blob: boolean
9193
}
9294

0 commit comments

Comments
 (0)