fix(types): vue.d.ts should use relative import to v3-component-public-instance (#12668)

fix #12666
This commit is contained in:
Nathan Shively-Sanders 2022-07-16 05:21:07 -07:00 committed by GitHub
parent 7d4a7722e3
commit 46ec648694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@
"jsx": "preserve",
"strict": true,
"noEmit": true,
"baseUrl": ".",
"paths": {
"vue": ["../index.d.ts"]
}

2
types/vue.d.ts vendored
View File

@ -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 {
(