ng-packagr
Version:
Compile and package Angular libraries in Angular Package Format (APF)
12 lines (11 loc) • 368 B
TypeScript
interface RenderRequest {
content: string;
filePath: string;
}
declare function render({ content, filePath }: RenderRequest): Promise<string>;
/**
* The default export will be the promise returned by the initialize function.
* This is awaited by piscina prior to using the Worker.
*/
declare const _default: Promise<typeof render>;
export default _default;