2022-03-30 02:58:57 +08:00
|
|
|
import type { vShow } from 'vue'
|
2022-06-07 13:44:57 +08:00
|
|
|
import type { INSTALLED_KEY } from '@element-plus/constants'
|
2022-03-30 02:58:57 +08:00
|
|
|
|
2022-02-11 12:10:56 +08:00
|
|
|
declare global {
|
2022-03-07 15:07:30 +08:00
|
|
|
const process: {
|
2022-05-24 22:54:34 +08:00
|
|
|
env: {
|
|
|
|
NODE_ENV: string
|
|
|
|
}
|
2022-03-07 15:07:30 +08:00
|
|
|
}
|
|
|
|
|
2022-02-11 12:10:56 +08:00
|
|
|
namespace JSX {
|
|
|
|
interface IntrinsicAttributes {
|
2024-09-23 13:45:35 +08:00
|
|
|
class?: unknown
|
|
|
|
style?: unknown
|
2022-02-11 12:10:56 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-07 15:07:30 +08:00
|
|
|
|
2022-03-30 02:58:57 +08:00
|
|
|
declare module '@vue/runtime-core' {
|
2022-06-07 13:44:57 +08:00
|
|
|
export interface App {
|
|
|
|
[INSTALLED_KEY]?: boolean
|
|
|
|
}
|
|
|
|
|
2022-03-30 02:58:57 +08:00
|
|
|
export interface GlobalComponents {
|
|
|
|
Component: (props: { is: Component | string }) => void
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ComponentCustomProperties {
|
|
|
|
vShow: typeof vShow
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 12:10:56 +08:00
|
|
|
export {}
|