@angular/compiler
Version:
Angular - the compiler library
19 lines (18 loc) • 564 B
TypeScript
/**
* @license
* Copyright Google LLC 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
*/
import { CompileReflector } from './compile_reflector';
import { NgModule, Type } from './core';
/**
* Resolves types to {@link NgModule}.
*/
export declare class NgModuleResolver {
private _reflector;
constructor(_reflector: CompileReflector);
isNgModule(type: any): boolean;
resolve(type: Type, throwIfNotFound?: boolean): NgModule | null;
}