Feature: {
    getFeatures(): Promise<FeatureInterface[]>;
    hasFeature(featureId: string): Promise<boolean>;
}

Type declaration

  • getFeatures:function
  • hasFeature:function
    • Check if feature is available

      Parameters

      • featureId: string

        feature id (e.g. 'service-accounts')

      Returns Promise<boolean>

      a promise that resolves to true if the feature is available and to false otherwise