Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConfigValueSources

Hierarchy

  • ConfigValueSources

Index

Properties

env

env: (n: string) => ConfigValueSource<string | undefined>

Type declaration

envOr

envOr: (e: string, defaultVal: string) => ConfigValueSource<string>

Type declaration

envOrDie

envOrDie: (e: string) => ConfigValueSource<string>

Type declaration

lit

lit: <T>(t: T | Promise<T>) => ConfigValueSource<T>

Type declaration

obj

obj: <T>(config: ConfigFor<T>) => ConfigValueSource<T>

Type declaration

of

of: <T>(cf: () => Promise<T>) => ConfigValueSource<T>

Type declaration

or

or: <T>(cvs: ConfigValueSource<T | undefined>, defaultVal: T) => ConfigValueSource<T>

Type declaration

orDie

orDie: <T>(cvs: ConfigValueSource<T | undefined>, failureMsg: string) => ConfigValueSource<T>

Type declaration

Generated using TypeDoc