forked from mystiq/hydrogen-web
Log callbacks can return more than Promises
This commit is contained in:
parent
0b4eca4724
commit
e3c85c585e
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ type LogItemValues = LogItemWithLabel | LogItemNetwork | LogItemRef;
|
|||
|
||||
export type LabelOrValues = string | LogItemValues;
|
||||
export type FilterCreator = ((filter: LogFilter, item: LogItem) => LogFilter) | null;
|
||||
export type LogCallback = (item: LogItem) => Promise<unknown> | undefined;
|
||||
export type LogCallback = (item: LogItem) => unknown;
|
||||
|
||||
export class LogItem {
|
||||
public start: number;
|
||||
|
|
Loading…
Reference in a new issue