declare module '*.vue' { import { defineComponent } from 'vue'; const component: ReturnType; export default component; } // declare module '*.vue' { // import * as vue from 'vue'; // export declare const render: vue.RootRenderFunction // } // declare module '@vue/runtime-core' { // export interface ComponentCustomProperties { // $http: typeof axios // $validate: (data: object, rule: object) => boolean // } // } declare type Nullable = T | null; declare type CustomizedHTMLElement = HTMLElement & T; declare type Indexable = { [key: string]: T; };