Skip to content

Commit 5453e79

Browse files
committed
chore: fix types
1 parent 178e893 commit 5453e79

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

packages/runtime-core/src/helpers/resolveAssets.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import { currentRenderingInstance } from '../componentRenderUtils'
2-
import {
3-
currentInstance,
4-
Component,
5-
FunctionalComponent,
6-
ComponentOptions
7-
} from '../component'
2+
import { currentInstance, Component, FunctionalComponent } from '../component'
83
import { Directive } from '../directives'
9-
import { camelize, capitalize, isString, isObject } from '@vue/shared'
4+
import { camelize, capitalize, isString } from '@vue/shared'
105
import { warn } from '../warning'
116

127
const COMPONENTS = 'components'

packages/runtime-core/src/profiling.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ export function endMeasure(instance: ComponentInternalInstance, type: string) {
1717
const startTag = `vue-${type}-${instance.uid}`
1818
const endTag = startTag + `:end`
1919
perf.mark(endTag)
20-
perf.measure(`<${formatComponentName(instance)}> ${type}`, startTag, endTag)
20+
perf.measure(
21+
`<${formatComponentName(instance, instance.type)}> ${type}`,
22+
startTag,
23+
endTag
24+
)
2125
perf.clearMarks(startTag)
2226
perf.clearMarks(endTag)
2327
}

0 commit comments

Comments
 (0)