Skip to content

Commit

Permalink
fix RecursivePartial type
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rolana committed Nov 5, 2024
1 parent fa069d9 commit d4538bd
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 d4538bd

Please sign in to comment.