UNPKG

piral-ng

Version:

Plugin for integrating Angular components in Piral.

9 lines (8 loc) 455 B
import type { ComponentContext } from 'piral-core'; import type { NgModuleRef } from '@angular/core'; import type { NgModuleFlags, NgOptions } from './types'; export type NgModuleInt = NgModuleRef<any> & { _destroyed: boolean; }; export declare function teardown(BootstrapModule: any): void; export declare function startup(BootstrapModule: any, context: ComponentContext, ngOptions?: NgOptions, ngFlags?: NgModuleFlags): Promise<void | NgModuleInt>;