Skip to content

Commit 5853168

Browse files
committed
🧪 improve nested object playground example
1 parent 6ca038a commit 5853168

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

playground/playground.ts

+18-13
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,26 @@ examples.make(() => {
3939

4040
examples.make(() => {
4141
// example 2
42-
consoleInspect({
43-
type: "group",
44-
level: 1,
45-
items: [{ type: "new" }, { type: "delimiter" }, { type: "value" }],
46-
location: {
47-
start: {
48-
line: 1,
49-
column: 0,
50-
},
51-
end: {
52-
line: 4,
53-
column: 10,
42+
consoleInspect(
43+
{
44+
type: "group",
45+
level: 1,
46+
items: [{ type: "new" }, { type: "delimiter" }, { type: "value" }],
47+
location: {
48+
start: {
49+
line: 1,
50+
column: 0,
51+
},
52+
end: {
53+
line: 4,
54+
column: 10,
55+
},
5456
},
5557
},
56-
});
58+
{
59+
depth: 3,
60+
},
61+
);
5762
});
5863

5964
examples.make(() => {

0 commit comments

Comments
 (0)