env.ts 749 B

1234567891011121314151617181920212223
  1. /**
  2. * Contract source: https://git.io/JTm6U
  3. *
  4. * Feel free to let us know via PR, if you find something broken in this contract
  5. * file.
  6. */
  7. declare module '@ioc:Adonis/Core/Env' {
  8. /*
  9. |--------------------------------------------------------------------------
  10. | Getting types for validated environment variables
  11. |--------------------------------------------------------------------------
  12. |
  13. | The `default` export from the "../env.ts" file exports types for the
  14. | validated environment variables. Here we merge them with the `EnvTypes`
  15. | interface so that you can enjoy intellisense when using the "Env"
  16. | module.
  17. |
  18. */
  19. type CustomTypes = typeof import('../env').default
  20. interface EnvTypes extends CustomTypes {}
  21. }