|
| 1 | +{ |
| 2 | + "type": "File", |
| 3 | + "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}}, |
| 4 | + "program": { |
| 5 | + "type": "Program", |
| 6 | + "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}}, |
| 7 | + "sourceType": "module", |
| 8 | + "interpreter": null, |
| 9 | + "body": [ |
| 10 | + { |
| 11 | + "type": "TSTypeAliasDeclaration", |
| 12 | + "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}}, |
| 13 | + "id": { |
| 14 | + "type": "Identifier", |
| 15 | + "start":5,"end":12,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":12,"index":12},"identifierName":"Element"}, |
| 16 | + "name": "Element" |
| 17 | + }, |
| 18 | + "typeParameters": { |
| 19 | + "type": "TSTypeParameterDeclaration", |
| 20 | + "start":12,"end":15,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":15,"index":15}}, |
| 21 | + "params": [ |
| 22 | + { |
| 23 | + "type": "TSTypeParameter", |
| 24 | + "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14}}, |
| 25 | + "name": { |
| 26 | + "type": "Identifier", |
| 27 | + "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"T"}, |
| 28 | + "name": "T" |
| 29 | + } |
| 30 | + } |
| 31 | + ] |
| 32 | + }, |
| 33 | + "typeAnnotation": { |
| 34 | + "type": "TSConditionalType", |
| 35 | + "start":18,"end":47,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":47,"index":47}}, |
| 36 | + "checkType": { |
| 37 | + "type": "TSTypeReference", |
| 38 | + "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}}, |
| 39 | + "typeName": { |
| 40 | + "type": "Identifier", |
| 41 | + "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"T"}, |
| 42 | + "name": "T" |
| 43 | + } |
| 44 | + }, |
| 45 | + "extendsType": { |
| 46 | + "type": "TSArrayType", |
| 47 | + "start":28,"end":39,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":39,"index":39}}, |
| 48 | + "elementType": { |
| 49 | + "type": "TSParenthesizedType", |
| 50 | + "start":28,"end":37,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":37,"index":37}}, |
| 51 | + "typeAnnotation": { |
| 52 | + "type": "TSInferType", |
| 53 | + "start":29,"end":36,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":36,"index":36}}, |
| 54 | + "typeParameter": { |
| 55 | + "type": "TSTypeParameter", |
| 56 | + "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36}}, |
| 57 | + "name": { |
| 58 | + "type": "Identifier", |
| 59 | + "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"U"}, |
| 60 | + "name": "U" |
| 61 | + } |
| 62 | + } |
| 63 | + } |
| 64 | + } |
| 65 | + }, |
| 66 | + "trueType": { |
| 67 | + "type": "TSTypeReference", |
| 68 | + "start":42,"end":43,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":43,"index":43}}, |
| 69 | + "typeName": { |
| 70 | + "type": "Identifier", |
| 71 | + "start":42,"end":43,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":43,"index":43},"identifierName":"U"}, |
| 72 | + "name": "U" |
| 73 | + } |
| 74 | + }, |
| 75 | + "falseType": { |
| 76 | + "type": "TSTypeReference", |
| 77 | + "start":46,"end":47,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":47,"index":47}}, |
| 78 | + "typeName": { |
| 79 | + "type": "Identifier", |
| 80 | + "start":46,"end":47,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":47,"index":47},"identifierName":"T"}, |
| 81 | + "name": "T" |
| 82 | + } |
| 83 | + } |
| 84 | + } |
| 85 | + } |
| 86 | + ], |
| 87 | + "directives": [], |
| 88 | + "extra": { |
| 89 | + "topLevelAwait": false |
| 90 | + } |
| 91 | + } |
| 92 | +} |
0 commit comments