forked from FoundKeyGang/FoundKey
In #134, the mention `MfmNode` handler was made async to allow the mentionedUsers query to be used there. This however changed the return type of that handler to be a `Promise`, causing a `TypeError` in `appendChildren`. This fixes the `TypeError` by making every handler and the `appendChildren` function also async and awaiting on the processed children. This also attempts to fix the types issue with handlers by casting to the newly defined `HandlerFunc` type instead of to `any`. |
||
---|---|---|
.. | ||
@types | ||
boot | ||
config | ||
daemons | ||
db | ||
mfm | ||
misc | ||
models | ||
prelude | ||
queue | ||
remote | ||
server | ||
services | ||
const.ts | ||
env.ts | ||
global.d.ts | ||
index.ts |