Mercurial
diff benchmark/bun-http-framework-benchmark/dev/adonis/contracts/env.ts @ 183:a8976a008a9d
[BenchMark] Added bun bench mark to test seoboe vs other popular benchmarks.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 21:19:08 -0800 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/benchmark/bun-http-framework-benchmark/dev/adonis/contracts/env.ts Fri Jan 23 21:19:08 2026 -0800 @@ -0,0 +1,23 @@ +/** + * Contract source: https://git.io/JTm6U + * + * Feel free to let us know via PR, if you find something broken in this contract + * file. + */ + +declare module '@ioc:Adonis/Core/Env' { + /* + |-------------------------------------------------------------------------- + | Getting types for validated environment variables + |-------------------------------------------------------------------------- + | + | The `default` export from the "../env.ts" file exports types for the + | validated environment variables. Here we merge them with the `EnvTypes` + | interface so that you can enjoy intellisense when using the "Env" + | module. + | + */ + + type CustomTypes = typeof import('../env').default + interface EnvTypes extends CustomTypes {} +}