File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export interface Options {
55
55
* This defaults to the owner document of an element if an API is called directly with an element and without setup.
56
56
* Otherwise it falls back to the global document.
57
57
*
58
- * @default element.ownerDocument??global .document
58
+ * @default element.ownerDocument??globalThis .document
59
59
*/
60
60
document ?: Document
61
61
@@ -136,7 +136,7 @@ export const defaultOptionsDirect: Required<Options> = {
136
136
applyAccept : true ,
137
137
autoModify : true ,
138
138
delay : 0 ,
139
- document : global . document ,
139
+ document : globalThis . document ,
140
140
keyboardMap : defaultKeyboardMap ,
141
141
pointerMap : defaultPointerMap ,
142
142
pointerEventsCheck : PointerEventsCheckLevel . EachApiCall ,
You can’t perform that action at this time.
0 commit comments