turn Kind enum into a simple object with numbers.

This commit is contained in:
fiatjaf
2023-10-30 08:03:42 -03:00
parent 318e3f8c88
commit 842cba25f3
7 changed files with 46 additions and 56 deletions

View File

@@ -23,7 +23,7 @@ export function finishRepostEvent(
reposted: Event<number>,
relayUrl: string,
privateKey: string,
): Event<Kind.Repost> {
): Event {
return finishEvent(
{
kind: Kind.Repost,