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 */
|
||||
if (
|
||||
perf &&
|
||||
// @ts-ignore
|
||||
perf.mark &&
|
||||
// @ts-ignore
|
||||
perf.measure &&
|
||||
// @ts-ignore
|
||||
perf.clearMarks &&
|
||||
// @ts-ignore
|
||||
perf.clearMeasures
|
||||
) {
|
||||
mark = tag => perf.mark(tag)
|
||||
|
|
|
|||
Loading…
Reference in New Issue