env.d.ts 605 B

1234567891011121314151617181920212223242526272829303132333435
  1. import type { vShow } from 'vue'
  2. import type { INSTALLED_KEY } from '@element-plus/constants'
  3. declare global {
  4. interface Window {
  5. __sdk: any
  6. }
  7. const process: {
  8. env: {
  9. NODE_ENV: string
  10. }
  11. }
  12. namespace JSX {
  13. interface IntrinsicAttributes {
  14. class?: any
  15. style?: any
  16. }
  17. }
  18. }
  19. declare module '@vue/runtime-core' {
  20. export interface App {
  21. [INSTALLED_KEY]?: boolean
  22. }
  23. export interface GlobalComponents {
  24. Component: (props: { is: Component | string }) => void
  25. }
  26. export interface ComponentCustomProperties {
  27. vShow: typeof vShow
  28. }
  29. }
  30. export {}