mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 05:56:09 +00:00
fix(helpers): expose collectors options
This commit is contained in:
parent
a9cbf3e4d2
commit
ba2d44246d
@ -1,7 +1,7 @@
|
||||
import type { Session, Events } from '@biscuitland/core';
|
||||
import { EventEmitter } from 'node:events';
|
||||
|
||||
interface CollectorOptions<E extends keyof Events> {
|
||||
export interface CollectorOptions<E extends keyof Events> {
|
||||
event: E;
|
||||
filter?(...args: Parameters<Events[E]>): unknown;
|
||||
max?: number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user