From b40ed51168059b59f6f5827def37f622be139ddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 13 Apr 2023 15:28:12 +0200 Subject: [PATCH] docs: enhance types documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utility-types.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 } -- 2.34.1