chore: fix types
This commit is contained in:
parent
178e89305d
commit
5453e791ae
@ -1,12 +1,7 @@
|
||||
import { currentRenderingInstance } from '../componentRenderUtils'
|
||||
import {
|
||||
currentInstance,
|
||||
Component,
|
||||
FunctionalComponent,
|
||||
ComponentOptions
|
||||
} from '../component'
|
||||
import { currentInstance, Component, FunctionalComponent } from '../component'
|
||||
import { Directive } from '../directives'
|
||||
import { camelize, capitalize, isString, isObject } from '@vue/shared'
|
||||
import { camelize, capitalize, isString } from '@vue/shared'
|
||||
import { warn } from '../warning'
|
||||
|
||||
const COMPONENTS = 'components'
|
||||
|
@ -17,7 +17,11 @@ export function endMeasure(instance: ComponentInternalInstance, type: string) {
|
||||
const startTag = `vue-${type}-${instance.uid}`
|
||||
const endTag = startTag + `:end`
|
||||
perf.mark(endTag)
|
||||
perf.measure(`<${formatComponentName(instance)}> ${type}`, startTag, endTag)
|
||||
perf.measure(
|
||||
`<${formatComponentName(instance, instance.type)}> ${type}`,
|
||||
startTag,
|
||||
endTag
|
||||
)
|
||||
perf.clearMarks(startTag)
|
||||
perf.clearMarks(endTag)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user