@lotto24-angular/imports-orchestrator
Version:
Orchestrate dynamically imported components in Angular applications
14 lines (13 loc) • 428 B
TypeScript
import { Type } from '@angular/core';
export interface ESModule {
__esModule: boolean;
}
export interface NgModuleDef<T> {
bootstrap: Type<any>[] | (() => Type<any>[]);
}
export declare const NG_MOD_DEF: string;
export declare const ES_MODULE: string;
export declare function isESModule(type: any): type is ESModule;
export declare function isNgModuleDef<T>(type: any): type is Type<T> & {
ɵmod: NgModuleDef<T>;
};