export type DOnFunction = (...args: any[]) => any; export type DOnOptions = Record;