Skip to content

Commit

Permalink
build(index-worker-embedded): specify pipelineWorker type
Browse files Browse the repository at this point in the history
Avoid implicit `any`. `string` may not be technically right -- this
`.worker.js` is a worker module source treated specially by bundlers.
  • Loading branch information
thewtex committed Aug 11, 2024
1 parent 332bec1 commit 2719194
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'

0 comments on commit 2719194

Please sign in to comment.