easy-web-worker 6.0.3 → 6.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -254,7 +254,7 @@ export declare class EasyWebWorker<TPayload = null, TResult = void, TPrimitivePa
254
254
  * the above the reason of why we are injecting all worker context into the MessageBody Callbacks, so,
255
255
  * you could easily identify what is on the context of your Worker.
256
256
  */
257
- protected source: EasyWebWorkerBody<TPayload, TResult> | EasyWebWorkerBody<any, any>[] | string | URL | Worker | Worker[];
257
+ protected source: EasyWebWorkerBody<TPayload, TResult> | EasyWebWorkerBody<TPayload, TResult>[] | string | URL | Worker | Worker[];
258
258
  /**
259
259
  * This is the URL of the worker file
260
260
  */
@@ -326,7 +326,7 @@ export declare class EasyWebWorker<TPayload = null, TResult = void, TPrimitivePa
326
326
  * the above the reason of why we are injecting all worker context into the MessageBody Callbacks, so,
327
327
  * you could easily identify what is on the context of your Worker.
328
328
  */
329
- source: EasyWebWorkerBody<TPayload, TResult> | EasyWebWorkerBody<any, any>[] | string | URL | Worker | Worker[],
329
+ source: EasyWebWorkerBody<TPayload, TResult> | EasyWebWorkerBody<TPayload, TResult>[] | string | URL | Worker | Worker[],
330
330
  /**
331
331
  * You could import scripts into your worker, this is useful if you want to use external libraries
332
332
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-web-worker",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "This is a library to easily handle and create web-workers, if you are a web developer and never tried this... do not wait any longer! Workers are an amazing option to improve user experience and make your webpages even greater",
5
5
  "main": "lib/bundle.js",
6
6
  "types": "lib/index.d.ts",