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": "TSBigIntKeyword", 14 "loc": { 15 "start": { 16 "line": 17, 17 "column": 8 18 }, 19 "end": { 20 "line": 17, 21 "column": 14 22 } 23 } 24 }, 25 "decorators": [], 26 "loc": { 27 "start": { 28 "line": 17, 29 "column": 5 30 }, 31 "end": { 32 "line": 17, 33 "column": 6 34 } 35 } 36 }, 37 "init": null, 38 "loc": { 39 "start": { 40 "line": 17, 41 "column": 5 42 }, 43 "end": { 44 "line": 17, 45 "column": 6 46 } 47 } 48 } 49 ], 50 "kind": "var", 51 "loc": { 52 "start": { 53 "line": 17, 54 "column": 1 55 }, 56 "end": { 57 "line": 17, 58 "column": 15 59 } 60 } 61 }, 62 { 63 "type": "ExpressionStatement", 64 "expression": { 65 "type": "AssignmentExpression", 66 "operator": "=", 67 "left": { 68 "type": "Identifier", 69 "name": "a", 70 "decorators": [], 71 "loc": { 72 "start": { 73 "line": 18, 74 "column": 1 75 }, 76 "end": { 77 "line": 18, 78 "column": 2 79 } 80 } 81 }, 82 "right": { 83 "type": "NumberLiteral", 84 "value": 5, 85 "loc": { 86 "start": { 87 "line": 18, 88 "column": 5 89 }, 90 "end": { 91 "line": 18, 92 "column": 6 93 } 94 } 95 }, 96 "loc": { 97 "start": { 98 "line": 18, 99 "column": 1 100 }, 101 "end": { 102 "line": 18, 103 "column": 6 104 } 105 } 106 }, 107 "loc": { 108 "start": { 109 "line": 18, 110 "column": 1 111 }, 112 "end": { 113 "line": 18, 114 "column": 7 115 } 116 } 117 }, 118 { 119 "type": "ExpressionStatement", 120 "expression": { 121 "type": "BinaryExpression", 122 "operator": "%", 123 "left": { 124 "type": "Identifier", 125 "name": "a", 126 "decorators": [], 127 "loc": { 128 "start": { 129 "line": 19, 130 "column": 1 131 }, 132 "end": { 133 "line": 19, 134 "column": 2 135 } 136 } 137 }, 138 "right": { 139 "type": "NumberLiteral", 140 "value": 5, 141 "loc": { 142 "start": { 143 "line": 19, 144 "column": 5 145 }, 146 "end": { 147 "line": 19, 148 "column": 6 149 } 150 } 151 }, 152 "loc": { 153 "start": { 154 "line": 19, 155 "column": 1 156 }, 157 "end": { 158 "line": 19, 159 "column": 6 160 } 161 } 162 }, 163 "loc": { 164 "start": { 165 "line": 19, 166 "column": 1 167 }, 168 "end": { 169 "line": 19, 170 "column": 7 171 } 172 } 173 } 174 ], 175 "loc": { 176 "start": { 177 "line": 1, 178 "column": 1 179 }, 180 "end": { 181 "line": 20, 182 "column": 1 183 } 184 } 185} 186TypeError: Type 'number' is not assignable to type 'bigint'. [arithmetic_operators_44.ts:18:1] 187