element-plus/typings/env.d.ts
blackie cd0f5ace61
refactor(components): [tabs] switch to script-setup syntax (#6468)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 02:58:57 +08:00

27 lines
435 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 {}