piral-ng
Version:
Plugin for integrating Angular components in Piral.
19 lines (18 loc) • 707 B
TypeScript
import { StaticProvider } from '@angular/core';
export interface NgAnnotation {
_initial?: Array<StaticProvider>;
standalone?: boolean;
providers: Array<StaticProvider>;
imports: Array<any>;
exports: Array<any>;
declarations: Array<any>;
entryComponents: Array<any>;
bootstrap: any;
selector: string;
}
export declare function getId(): string;
export declare function getNgVersion(): string;
export declare function getMinVersion(): string;
export declare function getAnnotations(component: any): Array<NgAnnotation>;
export declare function hasSelector(component: any, selector: string): boolean;
export declare function findComponents(exports: Array<any>): Array<any>;