Ver código fonte

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

fix #12666
Nathan Shively-Sanders 3 anos atrás
pai
commit
46ec648694
2 arquivos alterados com 1 adições e 2 exclusões
  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 {
   (