1 2 3 4 5 6 7 8 9
import * as Bluebird from 'bluebird' export interface PluginSettingsManager { getSetting: (name: string) => Bluebird<string | boolean> getSettings: (names: string[]) => Bluebird<{ [settingName: string]: string | boolean }> setSetting: (name: string, value: string) => Bluebird<any> }