{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSTupleType", "elementTypes": [], "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 10 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "init": { "type": "ArrayExpression", "elements": [ { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 15 } } } ], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 16 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 16 } } } ], "kind": "var", "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 17 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 17, "column": 17 } } } TypeError: Type '[1]' is not assignable to type '[]'. [tupleAssignability1.ts:17:5]