mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
7ff199c60f
* fix(build): enhance type check * feat: stricter ts check
29 lines
445 B
TypeScript
29 lines
445 B
TypeScript
import type { vShow } from 'vue'
|
|
|
|
declare global {
|
|
const process: {
|
|
env: {
|
|
NODE_ENV: string
|
|
}
|
|
}
|
|
|
|
namespace JSX {
|
|
interface IntrinsicAttributes {
|
|
class?: any
|
|
style?: any
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module '@vue/runtime-core' {
|
|
export interface GlobalComponents {
|
|
Component: (props: { is: Component | string }) => void
|
|
}
|
|
|
|
export interface ComponentCustomProperties {
|
|
vShow: typeof vShow
|
|
}
|
|
}
|
|
|
|
export {}
|