diff --git a/src/rules/deprecation.ts b/src/rules/deprecation.ts index 01cca04..d496c8f 100644 --- a/src/rules/deprecation.ts +++ b/src/rules/deprecation.ts @@ -132,6 +132,9 @@ function isDeclaration( // Prevent considering initializer, extends, or implements to be declaration return parent.id === id; + //@ts-ignore + case 'ClassProperty': + //@ts-ignore case 'PropertyDefinition': // Prevent considering value to be a declaration return parent.key === id;