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": "ArrayExpression", 40 "elements": [ 41 { 42 "type": "NumberLiteral", 43 "value": 1, 44 "loc": { 45 "start": { 46 "line": 17, 47 "column": 14 48 }, 49 "end": { 50 "line": 17, 51 "column": 15 52 } 53 } 54 } 55 ], 56 "loc": { 57 "start": { 58 "line": 17, 59 "column": 13 60 }, 61 "end": { 62 "line": 17, 63 "column": 16 64 } 65 } 66 }, 67 "loc": { 68 "start": { 69 "line": 17, 70 "column": 5 71 }, 72 "end": { 73 "line": 17, 74 "column": 16 75 } 76 } 77 } 78 ], 79 "kind": "var", 80 "loc": { 81 "start": { 82 "line": 17, 83 "column": 1 84 }, 85 "end": { 86 "line": 17, 87 "column": 17 88 } 89 } 90 } 91 ], 92 "loc": { 93 "start": { 94 "line": 1, 95 "column": 1 96 }, 97 "end": { 98 "line": 17, 99 "column": 17 100 } 101 } 102} 103TypeError: Type '[1]' is not assignable to type '[]'. [tupleAssignability1.ts:17:5] 104