fix(ivy): Support selector-less directive as base classes (#32125)
Following #31379, this adds support for directives without a selector to Ivy. PR Close #32125
This commit is contained in:
@ -299,7 +299,7 @@ export class R3TestBedCompiler {
|
||||
this.pendingComponents.clear();
|
||||
|
||||
this.pendingDirectives.forEach(declaration => {
|
||||
const metadata = this.resolvers.directive.resolve(declaration) !;
|
||||
const metadata = this.resolvers.directive.resolve(declaration);
|
||||
this.maybeStoreNgDef(NG_DIRECTIVE_DEF, declaration);
|
||||
compileDirective(declaration, metadata);
|
||||
});
|
||||
|
Reference in New Issue
Block a user