X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=fb0e435a81ac949b0b82740f1b17c1561bd9d762;hb=d29bce7c35c0be75535b4d1eb0f22ef38b3f8204;hp=e48ded5373695b4f778d43da19f00c2cf5b0ee3f;hpb=1d6ec394e8f7467f72baeb74dda4794fdc5ab322;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index e48ded53..fb0e435a 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -5,6 +5,8 @@ import type { IWorker, Task } from './pools/worker' /** * Make all properties in T non-readonly. + * + * @typeParam T - Type in which properties will be non-readonly. */ export type Draft = { -readonly [P in keyof T]?: T[P] } @@ -33,9 +35,6 @@ export interface MessageValue< readonly runTime?: number /** * Reference to main worker. - * - * Only for internal use. - * @internal */ readonly parent?: MainWorker }