element-plus/typings/env.d.ts
三咲智子 7ff199c60f
fix(build): enhance type check (#7880)
* fix(build): enhance type check

* feat: stricter ts check
2022-05-24 22:54:34 +08:00

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