Skip to content

Commit

Permalink
add types for getWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jan 29, 2024
1 parent f48a200 commit 966f069
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/msw-addon/src/initialize.d.ts
Expand Up @@ -12,3 +12,5 @@ export declare function initialize(
options?: InitializeOptions,
initialHandlers?: RequestHandler[]
): SetupApi<LifeCycleEventsMap>

export declare function getWorker(): typeof api

0 comments on commit 966f069

Please sign in to comment.