Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Config

读取配置

Hierarchy

  • Config

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Config(moduleName: string): Config

Properties

Private _log

_log: Debug = new Debug('config')

config

config: CosmiconfigResult = null

moduelName

moduelName: string

Methods

getConfig

  • getConfig(): CosmiconfigResult
  • 获取配置

    Returns CosmiconfigResult

Generated using TypeDoc