diff --git a/src/Form/JsonApiImageStylesAdminForm.php b/src/Form/JsonApiImageStylesAdminForm.php
index 360e36c5765737d552bc6f8805eb0287be14c056..5811422f84732f5f969d0d0813664873d32a6e54 100644
--- a/src/Form/JsonApiImageStylesAdminForm.php
+++ b/src/Form/JsonApiImageStylesAdminForm.php
@@ -3,6 +3,7 @@
 namespace Drupal\jsonapi_image_styles\Form;
 
 use Drupal\Core\Config\ConfigFactoryInterface;
+use Drupal\Core\Config\TypedConfigManagerInterface;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
 use Drupal\Core\Form\ConfigFormBase;
 use Drupal\Core\Form\FormStateInterface;
@@ -28,8 +29,11 @@ class JsonApiImageStylesAdminForm extends ConfigFormBase {
    * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
    *   Entity type manager.
    */
-  public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
-    parent::__construct($config_factory);
+  public function __construct(
+    ConfigFactoryInterface $configFactory,
+    TypedConfigManagerInterface $typedConfigManager,
+    EntityTypeManagerInterface $entity_type_manager) {
+    parent::__construct($configFactory, $typedConfigManager);
     $this->entityTypeManager = $entity_type_manager;
   }
 
@@ -39,6 +43,7 @@ public function __construct(ConfigFactoryInterface $config_factory, EntityTypeMa
   public static function create(ContainerInterface $container) {
     return new static(
       $container->get('config.factory'),
+      $container->get('config.typed'),
       $container->get('entity_type.manager')
     );
   }