global.d.ts 511 B

1234567891011121314151617
  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 '*.scss'