Skip to content

Commit

Permalink
fix: Add cleanup type (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryotah committed Nov 25, 2020
1 parent b762198 commit 75e0111
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import {
// NOTE: fireEvent is overridden below
export * from '@testing-library/dom'

export function cleanup(): void

export interface RenderResult extends BoundFunctions<typeof queries> {
container: Element
baseElement: Element
Expand Down

0 comments on commit 75e0111

Please sign in to comment.