fix(core): update
This commit is contained in:
parent
1ebfa25695
commit
4769548dad
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@design.estate/dees-document',
|
||||
version: '1.0.98',
|
||||
version: '1.0.99',
|
||||
description: 'a catalog for creating documents like invoices'
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@design.estate/dees-document',
|
||||
version: '1.0.98',
|
||||
version: '1.0.99',
|
||||
description: 'a catalog for creating documents like invoices'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user