UNPKG

368 BTypeScriptView Raw
1interface RenderRequest {
2 content: string;
3 filePath: string;
4}
5declare function render({ content, filePath }: RenderRequest): Promise<string>;
6/**
7 * The default export will be the promise returned by the initialize function.
8 * This is awaited by piscina prior to using the Worker.
9 */
10declare const _default: Promise<typeof render>;
11export default _default;