Skip to content

Commit

Permalink
Add default value for options
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed May 1, 2024
1 parent d8d2aa5 commit b197045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DenoHTTPWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface DenoWorkerOptions {

export const newDenoHTTPWorker = async (
script: string | URL,
options?: Partial<DenoWorkerOptions>
options: Partial<DenoWorkerOptions> = {}
): Promise<DenoHTTPWorker> => {
const _options: DenoWorkerOptions = {
denoExecutable: "deno",
Expand Down

0 comments on commit b197045

Please sign in to comment.