1
|
/**
|
2
|
* @license
|
3
|
* Copyright Google Inc. All Rights Reserved.
|
4
|
*
|
5
|
* Use of this source code is governed by an MIT-style license that can be
|
6
|
* found in the LICENSE file at https://angular.io/license
|
7
|
*/
|
8
|
import { NgModule, Type } from '@angular/core';
|
9
|
import { CompileReflector } from './compile_reflector';
|
10
|
/**
|
11
|
* Resolves types to {@link NgModule}.
|
12
|
*/
|
13
|
export declare class NgModuleResolver {
|
14
|
private _reflector;
|
15
|
constructor(_reflector: CompileReflector);
|
16
|
isNgModule(type: any): boolean;
|
17
|
resolve(type: Type<any>, throwIfNotFound?: boolean): NgModule | null;
|
18
|
}
|