Files
element-plus/typings/env.d.ts
sea adf4fbfb6b feat(components): [tree-select] add instance type and improve test cleanup logic (#22499)
* 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>
2025-11-28 23:34:57 +08:00

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 {}