Skip to content

Commit e938cd9

Browse files
Remove HTMLDocument as valid type for logTestingPlaygroundURL
1 parent f9b1f12 commit e938cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/screen.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export type Screen<Q extends Queries = typeof queries> = BoundFunctions<Q> & {
1616
* Convenience function for `Testing Playground` which logs URL that
1717
* can be opened in a browser
1818
*/
19-
logTestingPlaygroundURL: (element?: Element | HTMLDocument) => void
19+
logTestingPlaygroundURL: (element?: Element) => void
2020
}
2121

2222
export const screen: Screen

0 commit comments

Comments
 (0)