Skip to content

Commit 67471d7

Browse files
authored
Merge pull request #434 from m-rolana/fix-RecursivePartial-type
fix RecursivePartial type
2 parents c4b6107 + d4538bd commit 67471d7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/clients/core/groups.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const {Client} = require('../client');
44
/**
55
* A recursive type that makes all properties of an object optional, including nested objects.
66
* @template T
7-
* @typedef {object} RecursivePartial
8-
* @property {Partial<{[K in keyof T]: RecursivePartial<T[K]>}>} [key] - A recursive partial property of T.
7+
* @typedef {Partial<{[K in keyof T]: RecursivePartial<T[K]>}>} RecursivePartial
98
*/
109

1110
/**

src/clients/core/tickets.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const {Client} = require('../client');
44
/**
55
* A recursive type that makes all properties of an object optional, including nested objects.
66
* @template T
7-
* @typedef {object} RecursivePartial
8-
* @property {Partial<{[K in keyof T]: RecursivePartial<T[K]>}>} [key] - A recursive partial property of T.
7+
* @typedef {Partial<{[K in keyof T]: RecursivePartial<T[K]>}>} RecursivePartial
98
*/
109

1110
/**

0 commit comments

Comments
 (0)