import { IApp } from '@/core'; import type { ComponentRenderProxy, VNode, VNodeChild, ComponentPublicInstance, FunctionalComponent, PropType as VuePropType, defineComponent, } from 'vue'; declare global { namespace JSX { // tslint:disable no-empty-interface type Element = VNode; // tslint:disable no-empty-interface type ElementClass = ComponentRenderProxy; interface ElementAttributesProperty { $props: any; } interface IntrinsicElements { [elem: string]: any; } interface IntrinsicAttributes { [elem: string]: any; } } const App: IApp; const emit: Function; const luckysheet:IParam; const Handlebars:IParam; } declare module 'vue' { export type JSXComponent = | { new (): ComponentPublicInstance } | FunctionalComponent; } declare module 'vitest' { export interface TestContext {} }