Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConfigLoaderOpts

Index

Properties

Optional basePath

basePath: undefined | string

基础配置加载路径

Optional dotenvBy

dotenvBy: undefined | string

从 process.env 加载一个 ENV 属性,其值用于识别 .env 的后缀 e.g ENV=test will load .env.test

Optional optionsLoader

optionsLoader: undefined | FOptionsLoader

配置加载器,可以是一个方法或配置对象

Optional overwriteOptions

overwriteOptions: undefined | Options

覆盖配置,优先级最高

Optional path

path: undefined | string

配置加载路径

Optional requiredVariables

requiredVariables: undefined | string[]

设置必填字段

Optional suffix

suffix: undefined | string

自定义后缀

Legend

  • Function
  • Type alias
  • Interface
  • Property
  • Class

Generated using TypeDoc