global.d.ts 582 B

123456789101112131415161718
  1. /// <reference types="@tarojs/taro" />
  2. declare const __APP_ENV__: 'development' | 'test' | 'production'
  3. declare const __APP_ENV_LABEL__: string
  4. declare const __APP_VERSION__: string
  5. declare namespace NodeJS {
  6. interface ProcessEnv {
  7. readonly TARO_APP_ENV_LABEL?: string
  8. readonly TARO_APP_API_BASE_URL?: string
  9. readonly TARO_APP_ENABLE_DEBUG?: 'true' | 'false'
  10. readonly TARO_APP_ID?: string
  11. }
  12. }
  13. declare module '*.png' { const source: string; export default source }
  14. declare module '*.mp4' { const source: string; export default source }
  15. declare module '*.scss'