Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigProvider

Extend to add your own config options

Hierarchy

  • ConfigProvider

Index

Constructors

Properties

Constructors

constructor

Properties

defaults

defaults: any = {}

Default values, e.g.

defaults = {
  myPlugin: {
    foo: 1
  }
}

platformDefaults

platformDefaults: Record<string, any> = {}

Platform specific defaults, e.g.

platformDefaults = {
  [Platform.Windows]: {
    myPlugin: {
      bar: true
    }
  },
  [Platform.macOS]: {
    myPlugin: {
      bar: false
    }
  },
}

Generated using TypeDoc