fix(core): update
This commit is contained in:
@@ -10,6 +10,13 @@ export interface IPdfServiceConstructorOptions {
|
||||
* a pdf service for generating pdfs
|
||||
*/
|
||||
export class PdfService {
|
||||
// STATIC
|
||||
public static async createAndStart(optionsArg: IPdfServiceConstructorOptions) {
|
||||
const pdfService = new PdfService(optionsArg);
|
||||
await pdfService.start();
|
||||
return pdfService;
|
||||
}
|
||||
|
||||
// INSTANCE
|
||||
options: IPdfServiceConstructorOptions;
|
||||
|
||||
|
Reference in New Issue
Block a user