fix: type

This commit is contained in:
Shusui MOYATANI
2023-12-22 02:11:25 +09:00
parent adfd31cb43
commit 533f67ea98

View File

@@ -1,11 +1,12 @@
import { nip19 } from 'nostr-tools'; import { nip19 } from 'nostr-tools';
import { DecodeResult } from 'nostr-tools/lib/nip19';
import isValidId from '@/nostr/event/isValidId'; import isValidId from '@/nostr/event/isValidId';
import TagsBase from '@/nostr/event/TagsBase'; import TagsBase from '@/nostr/event/TagsBase';
const { decode } = nip19; const { decode } = nip19;
type DecodeResult = nip19.DecodeResult;
export type PlainText = { export type PlainText = {
type: 'PlainText'; type: 'PlainText';
content: string; content: string;