Add off callback docs
This commit is contained in:
@@ -21,6 +21,9 @@ interface ListenerEntry<T> {
|
|||||||
once?: boolean;
|
once?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Callback returned by {@link on} and {@link once} for removing a listener.
|
||||||
|
*/
|
||||||
export type OffCallback = () => void;
|
export type OffCallback = () => void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user