We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Proxy
1 parent 51c3ef7 commit 75fb56fCopy full SHA for 75fb56f
playground/playground.ts
@@ -425,6 +425,28 @@ examples.make(() => {
425
inspectMany(...objects);
426
});
427
428
+examples.only(() => {
429
+ inspect(
430
+ new Proxy(
431
+ {
432
+ type: "markdown",
433
+ nodes: [
434
435
+ type: "paragraph",
436
+ start: 0,
437
+ end: 12,
438
+ },
439
+ ],
440
441
442
+ get(target, prop) {
443
+ return target[prop];
444
445
446
+ ),
447
+ );
448
+});
449
+
450
// ii → unwrap promise
451
examples.make(() => {
452
ii(Promise.resolve("hello"));
0 commit comments