You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while this code Suggestion: export kinds as named types nbd-wtf/nostr-tools#447 is not published in npm I'm doing this: NostrEvent & { kind: typeof kinds.ShortText }, a complex representation that will be common used to define kind validated events, nostrify can offer a simple symbol NostrEvent<ShortText>
NostrEvent is equal NostrEvent from nostr-tools but with docs, this will make it a best version for use to me.
So, no?
The text was updated successfully, but these errors were encountered:
I would like make a final appeal to include generic support to nostrify NostrEvent.
Continuation of: nbd-wtf/nostr-tools#448
If you know you don't want that you can say just no and ok,
but here are advantages by including this in your library:
NostrEvent<ShortText>
NostrEvent & { kind: typeof kinds.ShortText }
, a complex representation that will be common used to define kind validated events, nostrify can offer a simple symbolNostrEvent<ShortText>
So, no?
The text was updated successfully, but these errors were encountered: