src/akari.ts: wrong type