12345678910111213141516171819202122 |
- import type { PermissionType } from '@/core/permission/modules/types';
- declare module '*.vue' {
- import type { DefineComponent } from 'vue';
- const component: DefineComponent<{}, {}, any>;
- export default component;
- }
- declare module '@vue/runtime-core' {
- export interface ComponentCustomProperties {
- $auth: (perm: PermissionType) => boolean;
- Reflect: Reflect;
- }
- }
- declare type Nullable<T> = T | null;
- declare type CustomizedHTMLElement<T> = HTMLElement & T;
- declare type Indexable<T> = {
- [key: string]: T;
- };
|