diff --git a/src/nostr/parseTextNote.ts b/src/nostr/parseTextNote.ts index d7cf725..fa31bca 100644 --- a/src/nostr/parseTextNote.ts +++ b/src/nostr/parseTextNote.ts @@ -1,11 +1,12 @@ import { nip19 } from 'nostr-tools'; -import { DecodeResult } from 'nostr-tools/lib/nip19'; import isValidId from '@/nostr/event/isValidId'; import TagsBase from '@/nostr/event/TagsBase'; const { decode } = nip19; +type DecodeResult = nip19.DecodeResult; + export type PlainText = { type: 'PlainText'; content: string;