mirror of https://github.com/vuejs/vue.git
chore: fix TS 4.7 error
This commit is contained in:
parent
ef297d94f9
commit
dd39e7ef4c
|
|
@ -8,9 +8,13 @@ if (__DEV__) {
|
||||||
/* istanbul ignore if */
|
/* istanbul ignore if */
|
||||||
if (
|
if (
|
||||||
perf &&
|
perf &&
|
||||||
|
// @ts-ignore
|
||||||
perf.mark &&
|
perf.mark &&
|
||||||
|
// @ts-ignore
|
||||||
perf.measure &&
|
perf.measure &&
|
||||||
|
// @ts-ignore
|
||||||
perf.clearMarks &&
|
perf.clearMarks &&
|
||||||
|
// @ts-ignore
|
||||||
perf.clearMeasures
|
perf.clearMeasures
|
||||||
) {
|
) {
|
||||||
mark = tag => perf.mark(tag)
|
mark = tag => perf.mark(tag)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue