diff --git a/adonis-typings.ts b/adonis-typings/index.ts similarity index 90% rename from adonis-typings.ts rename to adonis-typings/index.ts index cc09971..276aef3 100644 --- a/adonis-typings.ts +++ b/adonis-typings/index.ts @@ -7,7 +7,7 @@ * file that was distributed with this source code. */ -/// +/// declare module '@ioc:Adonis/Src/Env' { import { EnvContract as BaseContract } from '@poppinss/env/contracts' diff --git a/docs/README.md b/docs/README.md index 24b06ec..8b82186 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,7 +5,6 @@ ### External modules -* ["adonis-typings"](modules/_adonis_typings_.md) * [@poppinss/env](modules/_poppinss_env.md) --- diff --git a/docs/modules/_adonis_typings_.md b/docs/modules/_adonis_typings_.md deleted file mode 100644 index 005cb47..0000000 --- a/docs/modules/_adonis_typings_.md +++ /dev/null @@ -1,8 +0,0 @@ -[@poppinss/env](../README.md) > ["adonis-typings"](../modules/_adonis_typings_.md) - -# External module: "adonis-typings" - -## Index - ---- - diff --git a/package.json b/package.json index 07af3bd..9a12c8c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Environment variable manager for Node.js", "main": "build/index.js", "files": [ - "build/adonis-typings.d.ts", + "build/adonis-typings/index.d.ts", "build/src", "build/index.d.ts", "build/index.js" diff --git a/typedoc.js b/typedoc.js index a0696df..37891d2 100644 --- a/typedoc.js +++ b/typedoc.js @@ -2,7 +2,8 @@ module.exports = require('@adonisjs/mrm-preset/_typedoc.js')({ exclude: [ '**/test/*.ts', 'index.ts', - 'src/contracts.ts' + 'src/contracts.ts', + 'adonis-typings/index.ts' ], readme: 'none', })