Skip to content

Commit

Permalink
Remove HTMLDocument as valid type for logTestingPlaygroundURL
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiassoeholm committed Jan 24, 2021
1 parent f9b1f12 commit e938cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/screen.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type Screen<Q extends Queries = typeof queries> = BoundFunctions<Q> & {
* Convenience function for `Testing Playground` which logs URL that
* can be opened in a browser
*/
logTestingPlaygroundURL: (element?: Element | HTMLDocument) => void
logTestingPlaygroundURL: (element?: Element) => void
}

export const screen: Screen

0 comments on commit e938cd9

Please sign in to comment.