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 May 12, 2021
1 parent 987fcbf commit 54614d7
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 54614d7

Please sign in to comment.