diff --git a/kind-generics-th.cabal b/kind-generics-th.cabal
--- a/kind-generics-th.cabal
+++ b/kind-generics-th.cabal
@@ -1,6 +1,6 @@
 cabal-version:       >=1.10
 name:                kind-generics-th
-version:             0.2.3.1
+version:             0.2.3.2
 synopsis:            Template Haskell support for generating `GenericK` instances
 description:         This package provides Template Haskell functionality to
                      automatically derive @GenericK@ instances (from the
@@ -26,7 +26,7 @@
                      , fcf-family >= 0.1 && < 0.3
                      , ghc-prim >= 0.5.3
                      , kind-generics >=0.5
-                     , template-haskell >=2.14 && <2.20
+                     , template-haskell >=2.14 && <2.21
                      , th-abstraction >=0.4 && <0.6
   hs-source-dirs:      src
   default-language:    Haskell2010
diff --git a/src/Generics/Kind/TH.hs b/src/Generics/Kind/TH.hs
--- a/src/Generics/Kind/TH.hs
+++ b/src/Generics/Kind/TH.hs
@@ -665,7 +665,7 @@
 isNewtypeVariant DataInstance    = False
 isNewtypeVariant NewtypeInstance = True
 #if MIN_VERSION_th_abstraction(0,5,0)
-isNewtypeVariant TypeData        = False
+isNewtypeVariant THAbs.TypeData  = False
 #endif
 
 -- | Extract 'Just' the 'Name' from a type variable. If the argument 'Type' is
