From 46ec64869479393f95b6abda7a4adecf19867d06 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Sat, 16 Jul 2022 05:21:07 -0700 Subject: [PATCH] fix(types): vue.d.ts should use relative import to v3-component-public-instance (#12668) fix #12666 --- types/tsconfig.json | 1 - types/vue.d.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/types/tsconfig.json b/types/tsconfig.json index 07fef18f7..36c5afee0 100644 --- a/types/tsconfig.json +++ b/types/tsconfig.json @@ -9,7 +9,6 @@ "jsx": "preserve", "strict": true, "noEmit": true, - "baseUrl": ".", "paths": { "vue": ["../index.d.ts"] } diff --git a/types/vue.d.ts b/types/vue.d.ts index ed5b18174..aaf471dd2 100644 --- a/types/vue.d.ts +++ b/types/vue.d.ts @@ -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 { (