Skip to content

Commit

Permalink
Fix: missing types for unusedMocks (#392)
Browse files Browse the repository at this point in the history
* Update index.d.ts

Added missing type declarations for exported unusedMocks function

* Added changeset
  • Loading branch information
yuvke authored Dec 13, 2023
1 parent 8216002 commit e01114f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-steaks-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'mappersmith': patch
---

Fixed missing type declaration for `unusedMocks`
1 change: 1 addition & 0 deletions src/test/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function lookupResponseAsync(req: any): Promise<any>
export function clear(): void
export function install(): void
export function uninstall(): void
export function unusedMocks(): number
export function mockClient<
ResourcesType,
ResourceName extends keyof ResourcesType = keyof ResourcesType,
Expand Down

0 comments on commit e01114f

Please sign in to comment.