We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aeb4bc commit 392ca5dCopy full SHA for 392ca5d
packages/runtime-core/src/devtools.ts
@@ -1,3 +1,4 @@
1
+/* eslint-disable no-restricted-globals */
2
import { App } from './apiCreateApp'
3
import { Fragment, Text, Comment, Static } from './vnode'
4
import { ComponentInternalInstance } from './component'
@@ -53,7 +54,6 @@ export function setDevtoolsHook(hook: DevtoolsHook, target: any) {
53
54
// handle late devtools injection - only do this if we are in an actual
55
// browser environment to avoid the timer handle stalling test runner exit
56
// (#4815)
- // eslint-disable-next-line no-restricted-globals
57
typeof window !== 'undefined' &&
58
// some envs mock window but not fully
59
window.HTMLElement &&
0 commit comments