1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
╭ name: foo
├ kind: method
├ file: /tests/cases/fourslash/callHierarchyInterfaceMethod.ts
├ span:
│ ╭ /tests/cases/fourslash/callHierarchyInterfaceMethod.ts:2:5-2:17
│ │ 2: foo(): void;
│ │ ^^^^^^^^^^^^
│ ╰
├ selectionSpan:
│ ╭ /tests/cases/fourslash/callHierarchyInterfaceMethod.ts:2:5-2:8
│ │ 2: foo(): void;
│ │ ^^^
│ ╰
├ incoming:
│ ╭ from:
│ │ ╭ name: /tests/cases/fourslash/callHierarchyInterfaceMethod.ts
│ │ ├ kind: script
│ │ ├ file: /tests/cases/fourslash/callHierarchyInterfaceMethod.ts
│ │ ├ span:
│ │ │ ╭ /tests/cases/fourslash/callHierarchyInterfaceMethod.ts:1:1-7:11
│ │ │ │ 1: interface I {
│ │ │ │ ^^^^^^^^^^^^^
│ │ │ │ 2: foo(): void;
│ │ │ │ ^^^^^^^^^^^^^^^^
│ │ │ │ 3: }
│ │ │ │ ^
│ │ │ │ 4:
│ │ │ │ ^
│ │ │ │ 5: const obj: I = { foo() {} };
│ │ │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ │ │ 6:
│ │ │ │ ^
│ │ │ │ 7: obj.foo();
│ │ │ │ ^^^^^^^^^^
│ │ │ ╰
│ │ ├ selectionSpan:
│ │ │ ╭ /tests/cases/fourslash/callHierarchyInterfaceMethod.ts:1:1-1:1
│ │ │ │ 1: interface I {
│ │ │ │ <
│ │ │ ╰
│ │ ╰ incoming: none
│ ├ fromSpans:
│ │ ╭ /tests/cases/fourslash/callHierarchyInterfaceMethod.ts:7:5-7:8
│ │ │ 7: obj.foo();
│ │ │ ^^^
│ ╰ ╰
╰ outgoing: none
|