mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* feat(components): [tree-select] add instance * chore: update * chore: update test Co-authored-by: btea <2356281422@qq.com> * Update packages/components/tree-select/src/instance.ts Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> --------- Co-authored-by: btea <2356281422@qq.com> Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
30 lines
490 B
TypeScript
30 lines
490 B
TypeScript
import type { INSTALLED_KEY } from '@element-plus/constants'
|
|
|
|
declare global {
|
|
const process: {
|
|
env: {
|
|
NODE_ENV: string
|
|
RUN_TEST_WITH_PERSISTENT: string
|
|
}
|
|
}
|
|
|
|
namespace JSX {
|
|
interface IntrinsicAttributes {
|
|
class?: unknown
|
|
style?: unknown
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module 'vue' {
|
|
export interface App {
|
|
[INSTALLED_KEY]?: boolean
|
|
}
|
|
|
|
export interface GlobalComponents {
|
|
Component: (props: { is: Component | string }) => void
|
|
}
|
|
}
|
|
|
|
export {}
|