• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "TSInterfaceDeclaration",
6      "body": {
7        "type": "TSInterfaceBody",
8        "body": [
9          {
10            "type": "TSPropertySignature",
11            "computed": false,
12            "optional": false,
13            "readonly": false,
14            "key": {
15              "type": "Identifier",
16              "name": "a",
17              "loc": {
18                "start": {
19                  "line": 18,
20                  "column": 5
21                },
22                "end": {
23                  "line": 18,
24                  "column": 6
25                }
26              }
27            },
28            "typeAnnotation": {
29              "type": "TSUnionType",
30              "types": [
31                {
32                  "type": "TSStringKeyword",
33                  "loc": {
34                    "start": {
35                      "line": 18,
36                      "column": 9
37                    },
38                    "end": {
39                      "line": 18,
40                      "column": 15
41                    }
42                  }
43                },
44                {
45                  "type": "TSNumberKeyword",
46                  "loc": {
47                    "start": {
48                      "line": 19,
49                      "column": 5
50                    },
51                    "end": {
52                      "line": 19,
53                      "column": 11
54                    }
55                  }
56                }
57              ],
58              "loc": {
59                "start": {
60                  "line": 18,
61                  "column": 9
62                },
63                "end": {
64                  "line": 19,
65                  "column": 11
66                }
67              }
68            },
69            "loc": {
70              "start": {
71                "line": 18,
72                "column": 5
73              },
74              "end": {
75                "line": 20,
76                "column": 6
77              }
78            }
79          },
80          {
81            "type": "TSIndexSignature",
82            "parameters": {
83              "type": "Identifier",
84              "name": "b",
85              "typeAnnotation": {
86                "type": "TSNumberKeyword",
87                "loc": {
88                  "start": {
89                    "line": 20,
90                    "column": 10
91                  },
92                  "end": {
93                    "line": 20,
94                    "column": 16
95                  }
96                }
97              },
98              "loc": {
99                "start": {
100                  "line": 20,
101                  "column": 6
102                },
103                "end": {
104                  "line": 20,
105                  "column": 7
106                }
107              }
108            },
109            "typeAnnotation": {
110              "type": "TSStringKeyword",
111              "loc": {
112                "start": {
113                  "line": 20,
114                  "column": 20
115                },
116                "end": {
117                  "line": 20,
118                  "column": 26
119                }
120              }
121            },
122            "readonly": false,
123            "loc": {
124              "start": {
125                "line": 20,
126                "column": 5
127              },
128              "end": {
129                "line": 20,
130                "column": 27
131              }
132            }
133          }
134        ],
135        "loc": {
136          "start": {
137            "line": 17,
138            "column": 13
139          },
140          "end": {
141            "line": 21,
142            "column": 2
143          }
144        }
145      },
146      "id": {
147        "type": "Identifier",
148        "name": "I",
149        "loc": {
150          "start": {
151            "line": 17,
152            "column": 11
153          },
154          "end": {
155            "line": 17,
156            "column": 12
157          }
158        }
159      },
160      "extends": [],
161      "loc": {
162        "start": {
163          "line": 17,
164          "column": 1
165        },
166        "end": {
167          "line": 21,
168          "column": 2
169        }
170      }
171    }
172  ],
173  "loc": {
174    "start": {
175      "line": 1,
176      "column": 1
177    },
178    "end": {
179      "line": 22,
180      "column": 1
181    }
182  }
183}
184