File: goToDefinitionImports.baseline.jsonc

package info (click to toggle)
node-typescript 5.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 497,488 kB
  • sloc: javascript: 2,107,274; makefile: 6; sh: 1
file content (102 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// === goToDefinition ===
// === /b.ts ===
// import f, { x } from "./a";
// <|import * as [|a|] from "./a";|>
// import b = require("./b");
// f;
// x;
// /*GOTO DEF*/a;
// b;

  // === Details ===
  [
   {
    "kind": "alias",
    "name": "a",
    "containerName": "",
    "isLocal": true,
    "isAmbient": false,
    "unverified": false,
    "failedAliasResolution": false
   }
  ]



// === goToDefinition ===
// === /a.ts ===
// <|export default function [|f|]() {}|>
// export const x = 0;

// === /b.ts ===
// import f, { x } from "./a";
// import * as a from "./a";
// import b = require("./b");
// /*GOTO DEF*/[|f|];
// x;
// a;
// b;

  // === Details ===
  [
   {
    "kind": "function",
    "name": "f",
    "containerName": "a",
    "isLocal": false,
    "isAmbient": false,
    "unverified": false
   }
  ]



// === goToDefinition ===
// === /a.ts ===
// export default function f() {}
// <|export const [|x|] = 0;|>

// === /b.ts ===
// import f, { x } from "./a";
// import * as a from "./a";
// import b = require("./b");
// f;
// /*GOTO DEF*/[|x|];
// a;
// b;

  // === Details ===
  [
   {
    "kind": "const",
    "name": "x",
    "containerName": "a",
    "isLocal": false,
    "isAmbient": false,
    "unverified": false
   }
  ]



// === goToDefinition ===
// === /b.ts ===
// [|import f, { x } from "./a";
// import * as a from "./a";
// import b = require("./b");
// f;
// x;
// a;
// /*GOTO DEF*/b;|]

  // === Details ===
  [
   {
    "kind": "module",
    "name": "\"/b\"",
    "containerName": "",
    "isLocal": false,
    "isAmbient": false,
    "unverified": false
   }
  ]