chore: fix eslint error (#5876)
This commit is contained in:
parent
0aeb4bc9bf
commit
392ca5dd88
@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable no-restricted-globals */
|
||||||
import { App } from './apiCreateApp'
|
import { App } from './apiCreateApp'
|
||||||
import { Fragment, Text, Comment, Static } from './vnode'
|
import { Fragment, Text, Comment, Static } from './vnode'
|
||||||
import { ComponentInternalInstance } from './component'
|
import { ComponentInternalInstance } from './component'
|
||||||
@ -53,7 +54,6 @@ export function setDevtoolsHook(hook: DevtoolsHook, target: any) {
|
|||||||
// handle late devtools injection - only do this if we are in an actual
|
// handle late devtools injection - only do this if we are in an actual
|
||||||
// browser environment to avoid the timer handle stalling test runner exit
|
// browser environment to avoid the timer handle stalling test runner exit
|
||||||
// (#4815)
|
// (#4815)
|
||||||
// eslint-disable-next-line no-restricted-globals
|
|
||||||
typeof window !== 'undefined' &&
|
typeof window !== 'undefined' &&
|
||||||
// some envs mock window but not fully
|
// some envs mock window but not fully
|
||||||
window.HTMLElement &&
|
window.HTMLElement &&
|
||||||
|
Loading…
Reference in New Issue
Block a user