ditto/src/types.ts

9 lines
250 B
TypeScript
Raw Normal View History

import { type Filter } from '@/deps.ts';
/** Custom filter interface that extends Nostr filters with extra options for Ditto. */
interface DittoFilter<K extends number = number> extends Filter<K> {
local?: boolean;
}
export { type DittoFilter };