@@ -100,6 +100,7 @@ const sortExtensions = (a: ManifestBase, b: ManifestBase): number => (b.weight |
100100
101101export class UmbExtensionRegistry <
102102 IncomingManifestTypes extends ManifestBase ,
103+ IncomingConditionConfigTypes extends UmbConditionConfigBase = UmbConditionConfigBase ,
103104 ManifestTypes extends ManifestBase = IncomingManifestTypes | ManifestBase ,
104105> {
105106 readonly MANIFEST_TYPES : ManifestTypes = undefined as never ;
@@ -490,7 +491,7 @@ export class UmbExtensionRegistry<
490491 * @param {string } alias - The alias of the extension to append the condition to.
491492 * @param {UmbConditionConfigBase } newCondition - The condition to append to the extension.
492493 */
493- appendCondition ( alias : string , newCondition : UmbConditionConfigBase ) {
494+ appendCondition ( alias : string , newCondition : IncomingConditionConfigTypes ) {
494495 this . appendConditions ( alias , [ newCondition ] ) ;
495496 }
496497
@@ -499,7 +500,7 @@ export class UmbExtensionRegistry<
499500 * @param {string } alias - The alias of the extension to append the condition to
500501 * @param {Array<UmbConditionConfigBase> } newConditions - An array of conditions to be appended to an extension manifest.
501502 */
502- appendConditions ( alias : string , newConditions : Array < UmbConditionConfigBase > ) {
503+ appendConditions ( alias : string , newConditions : Array < IncomingConditionConfigTypes > ) {
503504 const existingConditionsToBeAdded = this . #additionalConditions. get ( alias ) ;
504505 this . #additionalConditions. set (
505506 alias ,
0 commit comments