
This commit adds three previously missing validations to NgModule.declarations: 1. It checks that declared classes are actually within the current compilation. 2. It checks that declared classes are directives, components, or pipes. 3. It checks that classes are declared in at most one NgModule. PR Close #34404
13 lines
541 B
TypeScript
13 lines
541 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export {ExportScope, ScopeData} from './src/api';
|
|
export {ComponentScopeReader, CompoundComponentScopeReader} from './src/component_scope';
|
|
export {DtsModuleScopeResolver, MetadataDtsModuleScopeResolver} from './src/dependency';
|
|
export {DeclarationData, LocalModuleScope, LocalModuleScopeRegistry, LocalNgModuleData} from './src/local';
|