Skip to content

Commit

Permalink
Merge pull request #434 from m-rolana/fix-RecursivePartial-type
Browse files Browse the repository at this point in the history
fix RecursivePartial type
  • Loading branch information
blakmatrix authored Nov 26, 2024
2 parents c4b6107 + d4538bd commit 67471d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/clients/core/groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<T[K]>}>} [key] - A recursive partial property of T.
* @typedef {Partial<{[K in keyof T]: RecursivePartial<T[K]>}>} RecursivePartial
*/

/**
Expand Down
3 changes: 1 addition & 2 deletions src/clients/core/tickets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<T[K]>}>} [key] - A recursive partial property of T.
* @typedef {Partial<{[K in keyof T]: RecursivePartial<T[K]>}>} RecursivePartial
*/

/**
Expand Down

0 comments on commit 67471d7

Please sign in to comment.