SudoSOS Back-end API / internal/files/pdf / PdfAble
Function: PdfAble() ​
ts
function PdfAble<TBase>(Base): {
(...args): PdfAbleClass;
prototype: PdfAbleClass<any>;
} & TBase;PdfAble is a Mixin that allows entities to be converted to Pdf. The mixin expects the instance to have a pdfService as typed above.
Type Parameters ​
| Type Parameter |
|---|
TBase extends Constructor<BaseEntity> |
Parameters ​
| Parameter | Type |
|---|---|
Base | TBase |
Returns ​
{ (...args): PdfAbleClass; prototype: PdfAbleClass<any>; } & TBase