1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "ObjectPattern", 11 "properties": [ 12 { 13 "type": "Property", 14 "method": false, 15 "shorthand": true, 16 "computed": false, 17 "key": { 18 "type": "Identifier", 19 "name": "a", 20 "decorators": [], 21 "loc": { 22 "start": { 23 "line": 17, 24 "column": 7 25 }, 26 "end": { 27 "line": 17, 28 "column": 8 29 } 30 } 31 }, 32 "value": { 33 "type": "Identifier", 34 "name": "a", 35 "decorators": [], 36 "loc": { 37 "start": { 38 "line": 17, 39 "column": 7 40 }, 41 "end": { 42 "line": 17, 43 "column": 8 44 } 45 } 46 }, 47 "kind": "init", 48 "loc": { 49 "start": { 50 "line": 17, 51 "column": 7 52 }, 53 "end": { 54 "line": 17, 55 "column": 8 56 } 57 } 58 } 59 ], 60 "loc": { 61 "start": { 62 "line": 17, 63 "column": 5 64 }, 65 "end": { 66 "line": 17, 67 "column": 10 68 } 69 } 70 }, 71 "init": { 72 "type": "ObjectExpression", 73 "properties": [], 74 "loc": { 75 "start": { 76 "line": 17, 77 "column": 13 78 }, 79 "end": { 80 "line": 17, 81 "column": 15 82 } 83 } 84 }, 85 "loc": { 86 "start": { 87 "line": 17, 88 "column": 5 89 }, 90 "end": { 91 "line": 17, 92 "column": 15 93 } 94 } 95 } 96 ], 97 "kind": "var", 98 "loc": { 99 "start": { 100 "line": 17, 101 "column": 1 102 }, 103 "end": { 104 "line": 17, 105 "column": 16 106 } 107 } 108 } 109 ], 110 "loc": { 111 "start": { 112 "line": 1, 113 "column": 1 114 }, 115 "end": { 116 "line": 17, 117 "column": 16 118 } 119 } 120} 121TypeError: Property a does not exist on type { }. [objectDestructuring1.ts:17:5] 122