2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
|
|
|
"start": 39,
|
|
|
|
"end": 186,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsModuleDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 39,
|
|
|
|
"end": 140,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"global": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 54,
|
|
|
|
"end": 57,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "JSX",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "TsModuleBlock",
|
|
|
|
"span": {
|
|
|
|
"start": 58,
|
|
|
|
"end": 140,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 61,
|
|
|
|
"end": 82,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 71,
|
|
|
|
"end": 78,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Element",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
|
|
|
"start": 79,
|
|
|
|
"end": 82,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 84,
|
|
|
|
"end": 138,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 94,
|
|
|
|
"end": 111,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "IntrinsicElements",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
|
|
|
"start": 112,
|
|
|
|
"end": 138,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 116,
|
|
|
|
"end": 135,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 116,
|
|
|
|
"end": 121,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "test1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 121,
|
|
|
|
"end": 134,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 123,
|
|
|
|
"end": 134,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 124,
|
|
|
|
"end": 133,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 124,
|
|
|
|
"end": 125,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 125,
|
|
|
|
"end": 133,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 127,
|
|
|
|
"end": 133,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 142,
|
|
|
|
"end": 153,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "var",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 146,
|
|
|
|
"end": 152,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 146,
|
|
|
|
"end": 147,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 147,
|
|
|
|
"end": 152,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 149,
|
|
|
|
"end": 152,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 170,
|
|
|
|
"end": 186,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "JSXElement",
|
|
|
|
"span": {
|
|
|
|
"start": 170,
|
|
|
|
"end": 186,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 171,
|
|
|
|
"end": 176,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "test1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 170,
|
|
|
|
"end": 186,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "SpreadElement",
|
|
|
|
"spread": {
|
|
|
|
"start": 178,
|
|
|
|
"end": 181,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 181,
|
|
|
|
"end": 182,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|