zhengyiming
2025-02-12 06a7a72a7b6dd4ef2c0c70314dfc3d1f99768c5d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* eslint-disable @typescript-eslint/no-explicit-any */
/// <reference types="@tarojs/taro" />
 
declare module '*.png'
declare module '*.gif'
declare module '*.jpg'
declare module '*.jpeg'
declare module '*.svg'
declare module '*.css'
declare module '*.less'
declare module '*.scss'
declare module '*.sass'
declare module '*.styl'
 
declare module '*.vue' {
  import { ComponentOptions } from 'vue'
  const componentOptions: ComponentOptions
  export default componentOptions
}
 
declare module '*.tsx' {
  import Vue from 'compatible-vue';
  export default Vue;
}
 
declare global {
  namespace JSX {
    type Element = VNode;
    type ElementClass = Vue;
    interface IntrinsicElements {
      [elem: string]: any;
    }
  }
 
}
 
declare namespace NodeJS {
  interface ProcessEnv {
    TARO_ENV: 'weapp' | 'swan' | 'alipay' | 'h5' | 'rn' | 'tt' | 'quickapp' | 'qq' | 'jd'
 
    NODE_ENV: 'development' | 'production';
    APP_ENV: 'staging';
 
    BASE_URL: string;
    TEST_BASE_URL: string;
 
    OSS_URL: string;
    TEST_OSS_URL: string;
    WEMAP_KEY: string;
  }
}
 
declare module '@tarojs/components' {
  export * from '@tarojs/components/types/index.vue3'
}
 
declare const CLIENT_ID: string
 
declare type Nullable<T> = T | null
declare type Recordable<T = unknown> = Record<string, T>
declare type ReadonlyRecordable<T = any> = {
  readonly [key: string]: T
}
declare type Indexable<T = any> = {
  [key: string]: T
}
declare type DeepPartial<T> = {
  [P in keyof T]?: DeepPartial<T[P]>
}
 
declare interface WeMapModel {
  latitude?: number;
  longitude?: number;
  provinceName?: string;
  cityName?: string;
  countyName?: string;
  provinceCode?: number;
  cityCode?: number;
  countyCode?: number;
  address?: string;
}
 
declare const uni = Taro