mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-06 16:30:35 +08:00
fix(typescript): borken import paths in declaration files
This commit is contained in:
parent
cb04a70019
commit
0e1e21509f
@ -1,4 +1,4 @@
|
||||
import { PopperProps } from '@element-plus/element-plus'
|
||||
import { PopperProps } from '@element-plus/components/popper'
|
||||
import type { ComputedRef, InjectionKey, Ref } from 'vue'
|
||||
|
||||
export type ElDropdownInjectionContext = {
|
||||
|
@ -2,7 +2,7 @@ import { nextTick, ref } from 'vue'
|
||||
import { mount } from '@vue/test-utils'
|
||||
import { describe, expect, test, vi } from 'vitest'
|
||||
import { ComponentSize, EVENT_CODE } from '@element-plus/constants'
|
||||
import { InputTagInstance } from '@element-plus/element-plus'
|
||||
import { InputTagInstance } from '@element-plus/components/input-tag'
|
||||
import FormItem from '@element-plus/components/form/src/form-item.vue'
|
||||
import InputTag from '../src/input-tag.vue'
|
||||
|
||||
|
@ -16,7 +16,14 @@
|
||||
"rootDir": ".",
|
||||
"types": [],
|
||||
"paths": {
|
||||
"@element-plus/*": ["packages/*"],
|
||||
"@element-plus/*": [
|
||||
"packages/components/*",
|
||||
"packages/utils/*",
|
||||
"packages/hooks/*",
|
||||
"packages/directives/*",
|
||||
"packages/constants/*",
|
||||
"packages/locale/*"
|
||||
],
|
||||
"element-plus": ["packages/element-plus"]
|
||||
},
|
||||
"preserveSymlinks": true
|
||||
|
Loading…
x
Reference in New Issue
Block a user