shims-vue.d.ts 496 B

123456789101112131415161718192021
  1. import { AxiosRequestConfig, AxiosResponse } from "axios";
  2. declare module "*.vue" {
  3. import type { DefineComponent } from "vue";
  4. const component: DefineComponent<{}, {}, any>;
  5. export default component;
  6. }
  7. declare module "*.scss" {
  8. const scss: Record<string, string>;
  9. export default scss;
  10. }
  11. declare module "axios" {
  12. export interface AxiosRequestConfig {
  13. hideLoading?: boolean;
  14. }
  15. export interface AxiosResponse {
  16. code: string | number;
  17. data: any;
  18. msg?: string;
  19. }
  20. }