Resolve #4664
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
Resolve #7779