1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "a", 12 "typeAnnotation": { 13 "type": "TSTupleType", 14 "elementTypes": [], 15 "loc": { 16 "start": { 17 "line": 17, 18 "column": 8 19 }, 20 "end": { 21 "line": 17, 22 "column": 10 23 } 24 } 25 }, 26 "decorators": [], 27 "loc": { 28 "start": { 29 "line": 17, 30 "column": 5 31 }, 32 "end": { 33 "line": 17, 34 "column": 6 35 } 36 } 37 }, 38 "init": { 39 "type": "NumberLiteral", 40 "value": 6, 41 "loc": { 42 "start": { 43 "line": 17, 44 "column": 13 45 }, 46 "end": { 47 "line": 17, 48 "column": 14 49 } 50 } 51 }, 52 "loc": { 53 "start": { 54 "line": 17, 55 "column": 5 56 }, 57 "end": { 58 "line": 17, 59 "column": 14 60 } 61 } 62 } 63 ], 64 "kind": "var", 65 "loc": { 66 "start": { 67 "line": 17, 68 "column": 1 69 }, 70 "end": { 71 "line": 17, 72 "column": 15 73 } 74 } 75 } 76 ], 77 "loc": { 78 "start": { 79 "line": 1, 80 "column": 1 81 }, 82 "end": { 83 "line": 17, 84 "column": 15 85 } 86 } 87} 88TypeError: Type 'number' is not assignable to type '[]'. [tupleAssignability14.ts:17:5] 89