msw 1.0.0 → 1.1.0

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.
package/lib/index.d.ts CHANGED
@@ -138,7 +138,7 @@ declare class SetupWorkerApi extends SetupApi<WorkerLifecycleEventsMap> implemen
138
138
  * @param {RequestHandler[]} handlers List of request handlers.
139
139
  * @see {@link https://mswjs.io/docs/api/setup-worker `setupWorker`}
140
140
  */
141
- declare function setupWorker(...handlers: Array<RequestHandler>): SetupWorkerApi;
141
+ declare function setupWorker(...handlers: Array<RequestHandler>): SetupWorker;
142
142
 
143
143
  type RestHandlerMethod = string | RegExp;
144
144
  interface RestHandlerInfo extends RequestHandlerDefaultInfo {