ERROR in Directive L10nDirective in /node_modules/angular-l10n/angular-l10n.d.ts has no selector, please add it

Describe the bug ng build --prod are failing with the error: ERROR in Directive L10nDirective in/node_modules/angular-l10n/angular-l10n.d.ts has no selector, please add it! Cannot determine the module for class L10nDirective in /node_modules/angular-l10n/angular-l10n.d.ts! Add L10nDirective to the NgModule to fix it.

using angular-ln10 version 10.0.2