feat(ivy): throw compilation error when providing undecorated classes (#34460)
Adds a compilation error if the consumer tries to pass in an undecorated class into the `providers` of an `NgModule`, or the `providers`/`viewProviders` arrays of a `Directive`/`Component`. PR Close #34460
This commit is contained in:
@ -89,3 +89,5 @@ export class EventEmitter<T> {
|
||||
export interface QueryList<T>/* implements Iterable<T> */ { [Symbol.iterator]: () => Iterator<T>; }
|
||||
|
||||
export type NgIterable<T> = Array<T>| Iterable<T>;
|
||||
|
||||
export class NgZone {}
|
||||
|
Reference in New Issue
Block a user