aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/env.ts
diff options
context:
space:
mode:
Diffstat (limited to 'contracts/env.ts')
-rw-r--r--contracts/env.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/contracts/env.ts b/contracts/env.ts
new file mode 100644
index 0000000..e1fd92e
--- /dev/null
+++ b/contracts/env.ts
@@ -0,0 +1,23 @@
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
8declare module '@ioc:Adonis/Core/Env' {
9 /*
10 |--------------------------------------------------------------------------
11 | Getting types for validated environment variables
12 |--------------------------------------------------------------------------
13 |
14 | The `default` export from the "../env.ts" file exports types for the
15 | validated environment variables. Here we merge them with the `EnvTypes`
16 | interface so that you can enjoy intellisense when using the "Env"
17 | module.
18 |
19 */
20
21 type CustomTypes = typeof import('../env').default;
22 interface EnvTypes extends CustomTypes {}
23}