From 533f67ea98b99283de0f8ef353d441e42e7748d1 Mon Sep 17 00:00:00 2001 From: Shusui MOYATANI Date: Fri, 22 Dec 2023 02:11:25 +0900 Subject: [PATCH] fix: type --- src/nostr/parseTextNote.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;