From d4538bd8be2c63cb097c27c7a86d3bb6ae3c9abb Mon Sep 17 00:00:00 2001 From: Maria Mikhalska Date: Tue, 5 Nov 2024 14:59:25 +0200 Subject: [PATCH] fix RecursivePartial type --- src/clients/core/groups.js | 3 +-- src/clients/core/tickets.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/clients/core/groups.js b/src/clients/core/groups.js index e2eebc4..d4bbf13 100644 --- a/src/clients/core/groups.js +++ b/src/clients/core/groups.js @@ -4,8 +4,7 @@ const {Client} = require('../client'); /** * A recursive type that makes all properties of an object optional, including nested objects. * @template T - * @typedef {object} RecursivePartial - * @property {Partial<{[K in keyof T]: RecursivePartial}>} [key] - A recursive partial property of T. + * @typedef {Partial<{[K in keyof T]: RecursivePartial}>} RecursivePartial */ /** diff --git a/src/clients/core/tickets.js b/src/clients/core/tickets.js index 341ec42..2a8183e 100644 --- a/src/clients/core/tickets.js +++ b/src/clients/core/tickets.js @@ -4,8 +4,7 @@ const {Client} = require('../client'); /** * A recursive type that makes all properties of an object optional, including nested objects. * @template T - * @typedef {object} RecursivePartial - * @property {Partial<{[K in keyof T]: RecursivePartial}>} [key] - A recursive partial property of T. + * @typedef {Partial<{[K in keyof T]: RecursivePartial}>} RecursivePartial */ /**