UNPKG

piral-ng

Version:

Plugin for integrating Angular components in Piral.

20 lines (19 loc) 746 B
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; selectors?: Array<Array<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>;