Skip to content

Commit d4538bd

Browse files
committed
fix RecursivePartial type
1 parent fa069d9 commit d4538bd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/clients/core/groups.js

+1-2
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

+1-2
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)