ng_module_resolver.d.ts
571 Bytes
/**
* @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
*/
import { NgModule, Type } from '@angular/core';
import { ReflectorReader } from './private_import_core';
/**
* Resolves types to {@link NgModule}.
*/
export declare class NgModuleResolver {
private _reflector;
constructor(_reflector?: ReflectorReader);
isNgModule(type: any): boolean;
resolve(type: Type<any>, throwIfNotFound?: boolean): NgModule;
}