UNPKG

565 BTypeScriptView Raw
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 */
8import { CompileReflector } from './compile_reflector';
9import { NgModule, Type } from './core';
10/**
11 * Resolves types to {@link NgModule}.
12 */
13export declare class NgModuleResolver {
14 private _reflector;
15 constructor(_reflector: CompileReflector);
16 isNgModule(type: any): boolean;
17 resolve(type: Type, throwIfNotFound?: boolean): NgModule | null;
18}