Skip to content

Commit 63f7119

Browse files
committed
add docs for the options
1 parent 58856e0 commit 63f7119

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/types/master.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ export interface ThreadsWorkerOptions extends WorkerOptions {
8484
}
8585

8686
export interface CreateWorkerOptions extends ThreadsWorkerOptions {
87-
backend: string
87+
/** backend for the threads */
88+
backend: "web" | "node" | "tiny"
89+
/** flag to return a BlobWorker */
8890
blob: boolean
8991
}
9092

0 commit comments

Comments
 (0)