- notIn -> !map.has(key): 't.id notIn transfers.keys' -> '!transfers.has(t.id)'
- old(expr) -> drop wrapper: specification construct, no JS equivalent
- union -> Set spread: 'pending union {t.id}' -> 'new Set([...pending, t.id])'
- \ -> Set difference via filter: 'pending \ {id}' -> 'new Set([...pending].filter(x => x !== id))'
- Trailing == at end-of-string -> ===, then clean up empty RHS comparisons
All 41 tests passing. TigerBeetle: 0 notIn, 0 old(, 0 union, 0 \, 0 ==)
|
||
|---|---|---|
| .. | ||
| __tests__ | ||
| generators | ||
| index.d.ts | ||
| index.d.ts.map | ||
| index.js | ||
| index.js.map | ||
| parser.d.ts | ||
| parser.d.ts.map | ||
| parser.js | ||
| parser.js.map | ||