Delphi Error – E2022 Class helper type required

Delphi Compiler Error

E2022 Class helper type required

Reason for the Error & Solution

When declaring a class helper type with an ancestor clause, the ancestor type must be a class helper.