소스 검색

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

fix #12666
Nathan Shively-Sanders 3 년 전
부모
커밋
46ec648694
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      types/tsconfig.json
  2. 1 1
      types/vue.d.ts

+ 0 - 1
types/tsconfig.json

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

+ 1 - 1
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 {
   (