element-plus/typings/env.d.ts

34 lines
574 B
TypeScript
Raw Permalink Normal View History

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?: unknown
style?: unknown
}
}
}
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 {}