refactor(bazel): convert most ts_library to ng_module (#22176)
This is necessary so we can produce ng metadata for our packages that are published as libraries PR Close #22176
This commit is contained in:

committed by
Victor Berchet

parent
03d93c96a3
commit
a069e08354
@ -6,7 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {Compiler, CompilerOptions, Component, ComponentFactory, Directive, Injector, NgModule, Pipe, Type} from '@angular/core';
|
||||
import {Compiler, CompilerOptions, Component, ComponentFactory, Directive, Injectable, Injector, NgModule, Pipe, Type} from '@angular/core';
|
||||
|
||||
import {MetadataOverride} from './metadata_override';
|
||||
|
||||
@ -19,6 +19,7 @@ function unimplemented(): any {
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
@Injectable()
|
||||
export class TestingCompiler extends Compiler {
|
||||
get injector(): Injector { throw unimplemented(); }
|
||||
overrideModule(module: Type<any>, overrides: MetadataOverride<NgModule>): void {
|
||||
|
Reference in New Issue
Block a user