Skip to content

Commit bbc34c7

Browse files
authored
docs(user-event): use globalThis (#1043)
1 parent 2548820 commit bbc34c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user-event/options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This defaults to the owner document of an element if an API is called
5555
[directly](setup.mdx#direct-api) with an element and without setup. Otherwise it
5656
falls back to the global document.
5757

58-
`default`: `element.ownerDocument ?? global.document`
58+
`default`: `element.ownerDocument ?? globalThis.document`
5959

6060
### keyboardMap
6161

0 commit comments

Comments
 (0)