1 |
|
2 |
|
3 | declare module '*.png';
|
4 | declare module '*.gif';
|
5 | declare module '*.jpg';
|
6 | declare module '*.jpeg';
|
7 | declare module '*.svg';
|
8 | declare module '*.css';
|
9 | declare module '*.less';
|
10 | declare module '*.scss';
|
11 | declare module '*.sass';
|
12 | declare module '*.styl';
|
13 |
|
14 | declare namespace NodeJS {
|
15 | interface ProcessEnv {
|
16 |
|
17 | NODE_ENV: 'development' | 'production',
|
18 |
|
19 | TARO_ENV: 'weapp' | 'swan' | 'alipay' | 'h5' | 'rn' | 'tt' | 'qq' | 'jd' | 'harmony' | 'jdrn'
|
20 | |
21 |
|
22 |
|
23 |
|
24 |
|
25 | TARO_APP_ID: string
|
26 | }
|
27 | }
|
28 |
|
29 | {{#if (includes "Vue3" s=framework)}}
|
30 | declare module '@tarojs/components' {
|
31 | export * from '@tarojs/components/types/index.vue3'
|
32 | }{{else if (includes "Solid" s=framework)}}
|
33 | declare module '@tarojs/components' {
|
34 | export * from '@tarojs/components/types/index.solid'
|
35 | }{{/if}}
|