diff --git a/src/Rhythm.Drop.Umbraco.Mapping/Components/BlockItemComponentMapDefinition.cs b/src/Rhythm.Drop.Umbraco.Mapping/Components/BlockItemComponentMapDefinition.cs index c67e69d..74d0cb6 100644 --- a/src/Rhythm.Drop.Umbraco.Mapping/Components/BlockItemComponentMapDefinition.cs +++ b/src/Rhythm.Drop.Umbraco.Mapping/Components/BlockItemComponentMapDefinition.cs @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper) mapper.Define, IComponent?>(Map); mapper.Define, TComponent?>(Map); - mapper.Define, TComponent?>(Map); + mapper.Define, IComponent?>(Map); } /// diff --git a/src/Rhythm.Drop.Umbraco.Mapping/Images/BlockItemImageMapDefinition.cs b/src/Rhythm.Drop.Umbraco.Mapping/Images/BlockItemImageMapDefinition.cs index 3ac04fa..90f40c5 100644 --- a/src/Rhythm.Drop.Umbraco.Mapping/Images/BlockItemImageMapDefinition.cs +++ b/src/Rhythm.Drop.Umbraco.Mapping/Images/BlockItemImageMapDefinition.cs @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper) mapper.Define, IImage?>(Map); mapper.Define, TImage?>(Map); - mapper.Define, TImage?>(Map); + mapper.Define, IImage?>(Map); } /// diff --git a/src/Rhythm.Drop.Umbraco.Mapping/Links/BlockItemLinkMapDefinition.cs b/src/Rhythm.Drop.Umbraco.Mapping/Links/BlockItemLinkMapDefinition.cs index c09c4bc..2b08b0e 100644 --- a/src/Rhythm.Drop.Umbraco.Mapping/Links/BlockItemLinkMapDefinition.cs +++ b/src/Rhythm.Drop.Umbraco.Mapping/Links/BlockItemLinkMapDefinition.cs @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper) mapper.Define, ILink?>(Map); mapper.Define, TLink?>(Map); - mapper.Define, TLink?>(Map); + mapper.Define, ILink?>(Map); } /// diff --git a/src/Rhythm.Drop.Umbraco.Mapping/Modals/BlockItemModalMapDefinition.cs b/src/Rhythm.Drop.Umbraco.Mapping/Modals/BlockItemModalMapDefinition.cs index dfc92d1..22c8218 100644 --- a/src/Rhythm.Drop.Umbraco.Mapping/Modals/BlockItemModalMapDefinition.cs +++ b/src/Rhythm.Drop.Umbraco.Mapping/Modals/BlockItemModalMapDefinition.cs @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper) mapper.Define, IModal?>(Map); mapper.Define, TModal?>(Map); - mapper.Define, TModal?>(Map); + mapper.Define, IModal?>(Map); } ///