Skip to content

Commit 7315eb8

Browse files
author
Sebastian Silbermann
committed
fix: Ensure RTL types override DTL types
1 parent b5cf504 commit 7315eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import {
1111
import {Renderer} from 'react-dom'
1212
import {act as reactAct} from 'react-dom/test-utils'
1313

14-
export * from '@testing-library/dom'
15-
1614
export type FireFunction = (
1715
...parameters: Parameters<DTLFireFunction>
1816
) => Promise<ReturnType<DTLFireFunction>>
@@ -171,3 +169,5 @@ export function cleanup(): Promise<void>
171169
* `act` for the DOM renderer
172170
*/
173171
export function act<T>(scope: () => T): Promise<T>
172+
173+
export * from '@testing-library/dom'

0 commit comments

Comments
 (0)