mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-01 19:48:14 +08:00
fix(types): vue.d.ts should use relative import to v3-component-public-instance (#12668)
fix #12666
This commit is contained in:
parent
7d4a7722e3
commit
46ec648694
@ -9,7 +9,6 @@
|
||||
"jsx": "preserve",
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"vue": ["../index.d.ts"]
|
||||
}
|
||||
|
2
types/vue.d.ts
vendored
2
types/vue.d.ts
vendored
@ -14,7 +14,7 @@ import { VNode, VNodeData, VNodeChildren, NormalizedScopedSlot } from './vnode'
|
||||
import { PluginFunction, PluginObject } from './plugin'
|
||||
import { DefineComponent } from './v3-define-component'
|
||||
import { nextTick } from './v3-generated'
|
||||
import { ComponentPublicInstance } from 'v3-component-public-instance'
|
||||
import { ComponentPublicInstance } from './v3-component-public-instance'
|
||||
|
||||
export interface CreateElement {
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user