Skip to content

Commit 11f293e

Browse files
Update packages/core/src/shared/utilities/collectionUtils.ts
Co-authored-by: Justin M. Keyes <[email protected]>
1 parent 797293f commit 11f293e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/utilities/collectionUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ export function partialClone(obj: any, depth: number = 3, omitKeys: string[] = [
335335
* @param obj object to show
336336
* @param opt options for showing (ex. depth, omitting keys)
337337
*/
338-
export function inspect(obj: any, opt?: InspectOptions): string {
338+
export function inspect(obj: any, opt?: { depth: number }): string {
339339
const options = {
340340
depth: opt?.depth ?? 3,
341341
}

0 commit comments

Comments
 (0)