1234567891011121314151617181920212223242526272829303132 |
- import type { vShow } from 'vue'
- const INSTALLED_KEY = Symbol('INSTALLED_KEY')
- declare global {
- const process: {
- env: {
- NODE_ENV: string
- }
- }
- namespace JSX {
- interface IntrinsicAttributes {
- class?: any
- style?: any
- }
- }
- }
- 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 {}
|