mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
fix: type
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user