mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
edaa6f6bc9
closes #8122
34 lines
566 B
TypeScript
34 lines
566 B
TypeScript
import type { vShow } from 'vue'
|
|
import type { INSTALLED_KEY } from '@element-plus/constants'
|
|
|
|
declare global {
|
|
const process: {
|
|
env: {
|
|
NODE_ENV: string
|
|
}
|
|
}
|
|
|
|
namespace JSX {
|
|
interface IntrinsicAttributes {
|
|
class?: any
|
|
style?: any
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module '@vue/runtime-core' {
|
|
export interface App {
|
|
[INSTALLED_KEY]?: boolean
|
|
}
|
|
|
|
export interface GlobalComponents {
|
|
Component: (props: { is: Component | string }) => void
|
|
}
|
|
|
|
export interface ComponentCustomProperties {
|
|
vShow: typeof vShow
|
|
}
|
|
}
|
|
|
|
export {}
|