forked from FoundKeyGang/FoundKey
Francis Dinh
9bcc247421
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`. |
||
---|---|---|
.. | ||
.vscode | ||
assets | ||
migration | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.cjs | ||
.mocharc.json | ||
jsconfig.json | ||
ormconfig.js | ||
package.json | ||
tsconfig.json | ||
watch.mjs |